Skip to content

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

chore: style fine tuning (#8004)

Liu Ji02f80d9902f9
diff --git a/frontend/src/views/sql-editor/SecondarySidebar/ToggleSecondarySidebarButton.vue b/frontend/src/views/sql-editor/SecondarySidebar/ToggleSecondarySidebarButton.vue
index 575e2a2be0..8fba8c75ca 100644
--- a/frontend/src/views/sql-editor/SecondarySidebar/ToggleSecondarySidebarButton.vue
+++ b/frontend/src/views/sql-editor/SecondarySidebar/ToggleSecondarySidebarButton.vue
@@ -1,7 +1,7 @@
<template>
<NButton
size="small"
- style="--n-padding: 0 6px"
+ style="--n-height: 24px; --n-padding: 0 4px"
:type="showSecondarySidebar ? 'info' : 'default'"
ghost
@click="showSecondarySidebar = !showSecondarySidebar"
diff --git a/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue b/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue
index a49ee35e75..267212c52d 100644
--- a/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue
+++ b/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue
@@ -1,5 +1,5 @@
<template>
- <label class="flex items-center text-sm h-6 ml-0.5 whitespace-nowrap">
+ <label class="flex items-center text-sm h-5 ml-0.5 whitespace-nowrap">
<EnvironmentV1Name
v-if="instance.uid !== String(UNKNOWN_ID)"
:environment="instance.environmentEntity"
diff --git a/frontend/src/views/sql-editor/TabList/TabList.vue b/frontend/src/views/sql-editor/TabList/TabList.vue
index 1f2010063e..e266f68b7e 100644
--- a/frontend/src/views/sql-editor/TabList/TabList.vue
+++ b/frontend/src/views/sql-editor/TabList/TabList.vue
@@ -42,7 +42,7 @@
</button>
</div>
- <div class="pb-1 hidden lg:block">
+ <div class="hidden lg:block">
<ToggleSecondarySidebarButton />
</div>