Skip to content

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

Dashboard sidebar spacing tweak

Tianzhou Chen22efd094edb2
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index a35198f66f..c584acc751 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -36,7 +36,7 @@
</button>
</div>
<!-- Mobile Sidebar -->
- <div class="flex-1 h-0 pt-5 pb-4 overflow-y-auto">
+ <div class="flex-1 h-0 py-4 overflow-y-auto">
<router-view name="leftSidebar" />
</div>
<div class="flex-shrink-0 flex border-t border-gray-200 p-4">
@@ -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 pt-5 pb-4 overflow-y-auto">
+ <div class="flex-1 flex flex-col py-4 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 b86e5ebea8..ef28a3ec4e 100644
--- a/frontend/src/views/DashboardSidebar.vue
+++ b/frontend/src/views/DashboardSidebar.vue
@@ -1,14 +1,14 @@
<template>
<!-- Navigation -->
- <nav class="px-2">
+ <nav class="px-2 space-y-4">
<div class="space-y-1">
<router-link
to="/"
- class="sidebar-link group flex items-center px-2 py-2"
+ class="sidebar-link group flex items-center px-2"
active-class="sidebar-link"
>
<svg
- class="mr-3 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"
+ class="mr-3 h-6 w-6 text-control-light group-hover:text-control-light group-focus:text-control-light-hover"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
@@ -23,7 +23,7 @@
Home
</router-link>
</div>
- <div class="mt-4">
+ <div>
<BookmarkListSidePanel />
</div>
<!-- <div class="mt-4">