Skip to content

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

chore(sql-editor): minor fixes (#13236)

Liu Jif473138e7deb
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue
index 151388895f..ffb0313caa 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue
@@ -76,7 +76,7 @@ const columns = computed(() => {
},
{
key: "comment",
- title: t("common.comment"),
+ title: t("schema-editor.database.comment"),
resizable: true,
className: "truncate",
render: (view) => {
diff --git a/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue b/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue
index d66269355d..0146c407ee 100644
--- a/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue
@@ -5,14 +5,14 @@
class="default-theme"
:dbl-click-splitter="false"
>
- <Pane class="flex flex-row overflow-hidden">
+ <Pane class="flex flex-col overflow-hidden">
<div
v-if="isDisconnected || allowReadonlyMode"
- class="flex h-full w-full flex-col justify-start items-stretch"
+ class="flex-1 h-full w-full flex flex-col justify-start items-stretch"
>
<template v-if="!tab || tab.editMode === 'SQL-EDITOR'">
<EditorAction @execute="handleExecute" />
- <div v-if="tab" class="w-full flex-1 flex flex-row items-stretch">
+ <div v-if="tab" class="w-full flex-1 flex flex-row items-stretch overflow-hidden">
<Suspense>
<SQLEditor @execute="handleExecute" />
<template #fallback>