Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat(sql-editor): remove panel size limitation (#2782)

Liu Ji84306cb3a090
diff --git a/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue b/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue
index e42bbc97a5..d9d204822f 100644
--- a/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue
@@ -9,10 +9,7 @@
@resized="handleResized"
>
<Pane :size="databasePaneSize"><DatabaseTree /></Pane>
- <Pane
- :size="FULL_HEIGHT - databasePaneSize"
- :max-size="TABLE_SCHEMA_PANE_SIZE"
- >
+ <Pane :size="FULL_HEIGHT - databasePaneSize">
<TableSchema @close-pane="handleCloseTableSchemaPane" />
</Pane>
</Splitpanes>
@@ -34,7 +31,6 @@ import { Splitpanes, Pane } from "splitpanes";
const FULL_HEIGHT = 100;
const DATABASE_PANE_SIZE = 60;
-const TABLE_SCHEMA_PANE_SIZE = FULL_HEIGHT - DATABASE_PANE_SIZE;
const sqlEditorStore = useSQLEditorStore();
const databasePaneSize = ref(FULL_HEIGHT);
diff --git a/frontend/src/views/sql-editor/SQLEditorPage.vue b/frontend/src/views/sql-editor/SQLEditorPage.vue
index 11d65ae45f..8a1b40b1ec 100644
--- a/frontend/src/views/sql-editor/SQLEditorPage.vue
+++ b/frontend/src/views/sql-editor/SQLEditorPage.vue
@@ -2,7 +2,7 @@
<div class="sqleditor--wrapper">
<TabListContainer />
<Splitpanes class="default-theme splitpanes-wrap">
- <Pane size="20" min-size="20" max-size="30">
+ <Pane size="20">
<AsidePanel />
</Pane>
<Pane size="80" class="relative">