Skip to content

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

chore: improve project detail spacing (#8422)

Tianzhou (天舟)98ad284709e6
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index 17c1b052b4..bb55b17656 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -177,7 +177,7 @@
>
<span class="sr-only">Open sidebar</span>
<!-- Heroicon name: menu -->
- <heroicons-outline:menu class="h-6 w-6" />
+ <heroicons-outline:menu class="h-4 w-4" />
</button>
</div>
<div v-if="showBreadcrumb" class="ml-4">
@@ -192,7 +192,7 @@
<Breadcrumb />
</div>
<div
- class="w-full flex flex-row justify-between items-center flex-wrap px-4 gap-x-4"
+ class="w-full flex flex-row justify-between items-center flex-wrap px-2 gap-x-4"
>
<div v-if="quickActionList.length > 0" class="flex-1 pt-3 pb-2">
<QuickActionPanel :quick-action-list="quickActionList" />
diff --git a/frontend/src/layouts/ProjectLayout.vue b/frontend/src/layouts/ProjectLayout.vue
index 515d02eb5f..3a79d17a9e 100644
--- a/frontend/src/layouts/ProjectLayout.vue
+++ b/frontend/src/layouts/ProjectLayout.vue
@@ -1,8 +1,6 @@
<template>
- <div class="py-2">
- <ArchiveBanner v-if="project.state === State.DELETED" />
- </div>
- <h1 class="px-6 pb-4 text-xl font-bold leading-6 text-main truncate">
+ <ArchiveBanner v-if="project.state === State.DELETED" class="py-2" />
+ <h1 class="px-4 py-2 text-xl font-bold leading-6 text-main truncate">
<template v-if="isDefaultProject">
{{ $t("database.unassigned-databases") }}
</template>
@@ -30,7 +28,7 @@
@select-index="selectTab"
/>
- <div class="py-6 px-6">
+ <div class="py-4 px-6">
<router-view
:project-slug="projectSlug"
:project-webhook-slug="projectWebhookSlug"