Skip to content

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

Give sidebar item y-2 padding so the hightlight looks better

Tianzhou Chenecdc8bfac096
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index 229f060217..ddbb222804 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -71,7 +71,7 @@
<aside class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-48">
<!-- Sidebar component, swap this element with another sidebar if you like -->
- <div class="flex-1 flex flex-col py-4 overflow-y-auto">
+ <div class="flex-1 flex flex-col py-2 overflow-y-auto">
<router-view name="leftSidebar" />
</div>
<div class="flex-shrink-0 flex border-t border-gray-200 p-4">
diff --git a/frontend/src/views/DashboardSidebar.vue b/frontend/src/views/DashboardSidebar.vue
index 0a71f4515c..e177efbade 100644
--- a/frontend/src/views/DashboardSidebar.vue
+++ b/frontend/src/views/DashboardSidebar.vue
@@ -4,7 +4,7 @@
<div class="space-y-1">
<router-link
to="/"
- class="outline-item group flex items-center px-2"
+ class="outline-item group flex items-center px-2 py-2"
active-class="outline-item"
>
<svg
diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vue
index f289a291d8..74a8b4c721 100644
--- a/frontend/src/views/SettingSidebar.vue
+++ b/frontend/src/views/SettingSidebar.vue
@@ -4,7 +4,7 @@
<div class="space-y-1">
<button
@click.prevent="goBack"
- class="group flex items-center px-2 text-base leading-5 font-normal rounded-md text-gray-700 focus:outline-none"
+ class="group flex items-center px-2 py-2 text-base leading-5 font-normal rounded-md text-gray-700 focus:outline-none"
>
<svg
class="mr-1 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"