Skip to content

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

Adjust tab padding to make it align with above control

天舟51f44b68a07c
diff --git a/frontend/src/views/Archive.vue b/frontend/src/views/Archive.vue
index 3d6c0bfa59..758b7b4a84 100644
--- a/frontend/src/views/Archive.vue
+++ b/frontend/src/views/Archive.vue
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col">
- <div class="px-2 py-2 flex justify-between items-center">
+ <div class="px-4 py-2 flex justify-between items-center">
<BBTabFilter
:tabList="tabList"
:selectedIndex="state.selectedIndex"
diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vue
index 0cb722092a..1710cd5a27 100644
--- a/frontend/src/views/DatabaseDashboard.vue
+++ b/frontend/src/views/DatabaseDashboard.vue
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col">
- <div class="px-2 py-2 flex justify-between items-center">
+ <div class="px-5 py-2 flex justify-between items-center">
<EnvironmentTabFilter
:selectedId="state.selectedEnvironment?.id"
@select-environment="selectEnvironment"
diff --git a/frontend/src/views/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail.vue
index e635fa2edf..a2cf5d30af 100644
--- a/frontend/src/views/DatabaseDetail.vue
+++ b/frontend/src/views/DatabaseDetail.vue
@@ -162,7 +162,7 @@
</div>
</BBModal>
<BBTabFilter
- class="px-1 pb-2 border-b border-block-border"
+ class="px-4 pb-2 border-b border-block-border"
:responsive="false"
:tabList="databaseTabItemList.map((item) => item.name)"
:selectedIndex="state.selectedIndex"
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index bde422e4af..9279930873 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col">
- <div class="px-2 py-2 flex justify-between items-center">
+ <div class="px-5 py-2 flex justify-between items-center">
<EnvironmentTabFilter
:selectedId="state.selectedEnvironment?.id"
@select-environment="selectEnvironment"
diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vue
index fb2d968a1d..ac8b4e8a23 100644
--- a/frontend/src/views/InstanceDashboard.vue
+++ b/frontend/src/views/InstanceDashboard.vue
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col">
- <div class="px-2 py-2 flex justify-between items-center">
+ <div class="px-5 py-2 flex justify-between items-center">
<EnvironmentTabFilter
:selectedId="state.selectedEnvironment?.id"
@select-environment="selectEnvironment"
diff --git a/frontend/src/views/IssueDashboard.vue b/frontend/src/views/IssueDashboard.vue
index b10ace36ba..7a8b31429e 100644
--- a/frontend/src/views/IssueDashboard.vue
+++ b/frontend/src/views/IssueDashboard.vue
@@ -1,7 +1,7 @@
<template>
<!-- This example requires Tailwind CSS v2.0+ -->
<div class="flex flex-col">
- <div class="px-2 py-2 flex justify-between items-center">
+ <div class="px-4 py-2 flex justify-between items-center">
<EnvironmentTabFilter
:selectedId="state.selectedEnvironment?.id"
@select-environment="selectEnvironment"
diff --git a/frontend/src/views/ProjectDetail.vue b/frontend/src/views/ProjectDetail.vue
index 741c57af26..a8835312ba 100644
--- a/frontend/src/views/ProjectDetail.vue
+++ b/frontend/src/views/ProjectDetail.vue
@@ -6,7 +6,7 @@
{{ project.name }}
</h1>
<BBTabFilter
- class="px-1 pb-2 border-b border-block-border"
+ class="px-3 pb-2 border-b border-block-border"
:responsive="false"
:tabList="projectTabItemList.map((item) => item.name)"
:selectedIndex="state.selectedIndex"