Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: re-layout (#8021)
Liu Ji8a0ccf62c000
diff --git a/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue b/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vueindex de3e35366a..c47214eb44 100644--- a/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue+++ b/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue@@ -4,7 +4,7 @@v-model:value="databaseTab"type="segment"size="small"- class="h-full"+ class="primary-sidebar h-full"pane-style="height: calc(100% - 35px); padding: 0;"><NTabPane name="projects" :tab="$t('common.projects')">@@ -70,3 +70,9 @@ watchEffect(() => {}});</script>++<style lang="postcss">+.primary-sidebar .n-tabs-rail {+ @apply pt-1;+}+</style>diff --git a/frontend/src/views/sql-editor/SQLEditorPage.vue b/frontend/src/views/sql-editor/SQLEditorPage.vueindex 0ca388bfd7..01070cc4d9 100644--- a/frontend/src/views/sql-editor/SQLEditorPage.vue+++ b/frontend/src/views/sql-editor/SQLEditorPage.vue@@ -1,6 +1,5 @@<template><div class="sqleditor--wrapper">- <TabList /><Splitpanesclass="default-theme flex flex-col flex-1 overflow-hidden":dbl-click-splitter="false"@@ -39,6 +38,8 @@</teleport></template><Pane class="relative">+ <TabList />+<template v-if="allowAccess"><template v-if="tabStore.currentTab.mode === TabMode.ReadOnly"><Splitpanes@@ -287,6 +288,6 @@ const handleAlterSchema = async (params: {--color-branding: #4f46e5;--border-color: rgba(200, 200, 200, 0.2);- @apply flex-1 overflow-hidden flex flex-col pt-1;+ @apply flex-1 overflow-hidden flex flex-col;}</style>diff --git a/frontend/src/views/sql-editor/TabList/TabList.vue b/frontend/src/views/sql-editor/TabList/TabList.vueindex e266f68b7e..81bab0275b 100644--- a/frontend/src/views/sql-editor/TabList/TabList.vue+++ b/frontend/src/views/sql-editor/TabList/TabList.vue@@ -1,6 +1,6 @@<template><div- class="flex justify-between items-center box-border text-gray-500 text-sm border-b pr-2"+ class="flex justify-between items-center box-border text-gray-500 text-sm border-b pr-2 pt-1"><div class="relative flex flex-1 flex-nowrap overflow-hidden"><Draggable