diff --git a/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx b/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx index f821a65419b..5ad7134764e 100644 --- a/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx +++ b/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx @@ -478,6 +478,7 @@ export const QueryEditor = forwardRef(funct options={{ minimap: { enabled: false }, padding: { top: 8 }, + scrollBeyondLastLine: true, }} onInputChange={(value) => onSqlChange(value ?? '')} onMount={(editor, monaco) => { diff --git a/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx b/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx index 5054f2bf66f..6a64b235f7e 100644 --- a/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx +++ b/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx @@ -210,7 +210,6 @@ export const MonacoEditor = ({ }} options={{ placeholder, - lineDecorationsWidth: 0, fixedOverflowWidgets: false, lineNumbersMinChars: 5, scrollBeyondLastLine: true, diff --git a/apps/studio/pages/project/[ref]/logs/explorer/index.tsx b/apps/studio/pages/project/[ref]/logs/explorer/index.tsx index f74291b0d8c..5828db9e7d3 100644 --- a/apps/studio/pages/project/[ref]/logs/explorer/index.tsx +++ b/apps/studio/pages/project/[ref]/logs/explorer/index.tsx @@ -509,6 +509,7 @@ export const LogsExplorerPage: NextPageWithLayout = () => { defaultValue={editorValue} onInputChange={(v) => setEditorValue(v || '')} actions={{ runQuery: { enabled: true, callback: handleRun } }} + options={{ scrollBeyondLastLine: true }} /> {rewriteProposal && (