Skip to content

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

chore: minor SQL Editor UX tweak (#8092)

Tianzhou (天舟)9ab5da7441d3
diff --git a/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryConnectionIcon.vue b/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryConnectionIcon.vue
index 2fb7eeb95f..b2bf951ed7 100644
--- a/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryConnectionIcon.vue
+++ b/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryConnectionIcon.vue
@@ -3,7 +3,7 @@
v-if="instance.uid !== String(UNKNOWN_ID)"
:instance="instance"
:tooltip="false"
- class="!w-3.5"
+ class="h-3.5 w-auto"
/>
</template>
diff --git a/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryTabPane.vue b/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryTabPane.vue
index 542e1371f5..fc25f7446c 100644
--- a/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryTabPane.vue
+++ b/frontend/src/views/sql-editor/SecondarySidebar/HistoryTabPane/HistoryTabPane.vue
@@ -25,7 +25,7 @@
<span class="text-xs text-gray-500">
{{ titleOfQueryHistory(history) }}
</span>
- <div class="flex items-start gap-x-2">
+ <div class="flex items-start gap-x-1">
<HistoryConnectionIcon :query-history="history" />
<span
class="rounded text-gray-500 hover:text-gray-700 hover:bg-gray-200"
diff --git a/frontend/src/views/sql-editor/SecondarySidebar/SheetTabPane/SheetTabPane.vue b/frontend/src/views/sql-editor/SecondarySidebar/SheetTabPane/SheetTabPane.vue
index 6de63a38fc..f26898f735 100644
--- a/frontend/src/views/sql-editor/SecondarySidebar/SheetTabPane/SheetTabPane.vue
+++ b/frontend/src/views/sql-editor/SecondarySidebar/SheetTabPane/SheetTabPane.vue
@@ -4,7 +4,7 @@
size="small"
class="bb-sql-editor--sheet-tab-pane--tabs h-full pt-1.5 px-1"
pane-style="height: calc(100% - 29px); padding: 0;"
- justify-content="space-between"
+ justify-content="start"
>
<NTabPane name="my" :tab="$t('sheet.mine')">
<SheetList view="my" />