Skip to content

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

chore: beautify home layout (#5062)

Tianzhou (天舟)9d79561743bc
diff --git a/frontend/src/components/Issue/IssueTable.vue b/frontend/src/components/Issue/IssueTable.vue
index 9a66c1690e..abdb5559cd 100644
--- a/frontend/src/components/Issue/IssueTable.vue
+++ b/frontend/src/components/Issue/IssueTable.vue
@@ -17,7 +17,7 @@
v-for="(column, index) in columnList"
:key="index"
scope="col"
- class="pl-2 py-2 text-left text-xs font-medium text-gray-500 tracking-wider capitalize"
+ class="pl-4 py-2 text-left text-xs font-medium text-gray-500 tracking-wider capitalize"
:class="[column.center && 'text-center pr-2']"
>
<template v-if="index === 0">
@@ -43,7 +43,7 @@
<!-- width: 1% means as narrow as possible -->
<input
type="checkbox"
- class="h-4 w-4 text-accent rounded disabled:cursor-not-allowed border-control-border focus:ring-accent"
+ class="ml-2 h-4 w-4 text-accent rounded disabled:cursor-not-allowed border-control-border focus:ring-accent"
:checked="isIssueSelected(issue)"
/>
</BBTableCell>
@@ -121,7 +121,7 @@
<div
v-if="isTableInViewport && selectedIssueList.length > 0"
- class="sticky bottom-0 w-full bg-white flex items-center gap-x-2 px-2 py-2 border border-t-0"
+ class="sticky bottom-0 w-full bg-white flex items-center gap-x-2 px-4 py-2 border border-t-0"
>
<BatchIssueActions :issue-list="selectedIssueList" />
</div>
diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vue
index bf18107fe6..5248a5e5a0 100644
--- a/frontend/src/components/QuickActionPanel.vue
+++ b/frontend/src/components/QuickActionPanel.vue
@@ -11,7 +11,7 @@
<button class="btn-icon-primary p-3" @click.prevent="createInstance">
<heroicons-outline:plus-sm class="w-5 h-5" />
</button>
- <h3 class="mt-1 text-sm font-normal text-main tracking-tight">
+ <h3 class="mt-1.5 text-sm font-normal text-main tracking-tight">
{{ $t("quick-action.add-instance") }}
</h3>
</div>
@@ -24,7 +24,7 @@
<heroicons-outline:users class="w-5 h-5" />
</router-link>
<h3
- class="mt-1 text-center text-sm font-normal text-main tracking-tight"
+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"
>
{{ $t("quick-action.manage-user") }}
</h3>
@@ -39,7 +39,7 @@
<heroicons-outline:database class="w-5 h-5" />
</button>
<h3
- class="mt-1 text-sm text-center font-normal text-main tracking-tight"
+ class="mt-1.5 text-sm text-center font-normal text-main tracking-tight"
>
{{ $t("quick-action.new-db") }}
</h3>
@@ -53,7 +53,7 @@
<heroicons-outline:database class="w-5 h-5" />
</button>
<h3
- class="mt-1 text-sm text-center font-normal text-main tracking-tight"
+ class="mt-1.5 text-sm text-center font-normal text-main tracking-tight"
>
{{ $t("quick-action.request-db") }}
</h3>
@@ -70,7 +70,7 @@
>
<heroicons-outline:pencil-alt class="w-5 h-5" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("database.alter-schema") }}
</h3>
</div>
@@ -82,7 +82,7 @@
<button class="btn-icon-primary p-3" @click.prevent="changeData">
<heroicons-outline:pencil class="w-5 h-5" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("database.change-data") }}
</h3>
</div>
@@ -98,7 +98,7 @@
<heroicons-outline:refresh class="w-5 h-5" />
<BBBetaBadge :corner="true" class="top-1" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("quick-action.sync-schema") }}
</h3>
</div>
@@ -109,7 +109,7 @@
<router-link to="/issue/new" class="btn-icon-primary p-3">
<heroicons-outline:hand class="w-5 h-5" />
</router-link>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("quick-action.troubleshoot") }}
</h3>
</div>
@@ -121,7 +121,7 @@
<button class="btn-icon-primary p-3" @click.prevent="createEnvironment">
<heroicons-outline:plus-sm class="w-5 h-5" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("environment.create") }}
</h3>
</div>
@@ -136,7 +136,7 @@
>
<heroicons-outline:selector class="transform rotate-90 w-5 h-5" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("common.reorder") }}
</h3>
</div>
@@ -149,7 +149,7 @@
<button class="btn-icon-primary p-3" @click.prevent="createProject">
<heroicons-outline:template class="w-5 h-5" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("quick-action.new-project") }}
</h3>
</div>
@@ -161,7 +161,7 @@
<button class="btn-icon-primary p-3" @click.prevent="transferDatabase">
<heroicons-outline:chevron-double-down class="w-5 h-5" />
</button>
- <h3 class="mt-1 text-center text-sm font-normal text-main">
+ <h3 class="mt-1.5 text-center text-sm font-normal text-main">
{{ $t("quick-action.transfer-in-db") }}
</h3>
</div>