Skip to content

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

chore: update schema editor styles (#8323)

boojackf1b2ebbfe1ed
diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
index 4ddc16d686..b08c28283f 100644
--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
@@ -12,7 +12,7 @@
class="-mb-px px-3 leading-9 rounded-t-md flex items-center text-sm text-gray-500 border border-b-0 border-transparent cursor-pointer select-none outline-none"
:class="
state.selectedTab === 'schema-editor' &&
- 'bg-white border-gray-300 text-gray-800'
+ 'bg-white !border-gray-300 text-gray-800'
"
@click="handleChangeTab('schema-editor')"
>
@@ -25,7 +25,7 @@
class="-mb-px px-3 leading-9 rounded-t-md text-sm text-gray-500 border border-b-0 border-transparent cursor-pointer select-none outline-none"
:class="
state.selectedTab === 'raw-sql' &&
- 'bg-white border-gray-300 text-gray-800'
+ 'bg-white !border-gray-300 text-gray-800'
"
@click="handleChangeTab('raw-sql')"
>
diff --git a/frontend/src/components/SchemaEditorV1/Aside/DatabaseTree.vue b/frontend/src/components/SchemaEditorV1/Aside/DatabaseTree.vue
index d85e1db7ee..8309c5e591 100644
--- a/frontend/src/components/SchemaEditorV1/Aside/DatabaseTree.vue
+++ b/frontend/src/components/SchemaEditorV1/Aside/DatabaseTree.vue
@@ -830,9 +830,15 @@ const handleExpandedKeysChange = (expandedKeys: string[]) => {
};
</script>
-<style>
+<style lang="postcss">
.schema-editor-database-tree .n-tree-node-wrapper {
- @apply !py-px;
+ @apply !p-0;
+}
+.schema-editor-database-tree .n-tree-node-content {
+ @apply !pl-2 text-sm;
+}
+.schema-editor-database-tree .n-tree-node-indent {
+ @apply w-1;
}
.schema-editor-database-tree .n-tree-node-content__prefix {
@apply shrink-0 !mr-1;