Skip to content

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

fix: add bottom padding to React sidebars (#19911)

boojack2fcfb1a89177
diff --git a/frontend/src/react/components/DashboardSidebar.tsx b/frontend/src/react/components/DashboardSidebar.tsx
index 02978c18fd..8db0c34aa6 100644
--- a/frontend/src/react/components/DashboardSidebar.tsx
+++ b/frontend/src/react/components/DashboardSidebar.tsx
@@ -512,7 +512,7 @@ export function DashboardSidebar() {
<img src={logoSrc} alt="Bytebase" className="max-w-44" />
</div>
<WorkspaceSwitcher />
- <div className="flex-1 overflow-y-auto px-2.5 flex flex-col gap-y-1">
+ <div className="flex-1 overflow-y-auto px-2.5 pb-4 flex flex-col gap-y-1">
{filteredItems.map((item, i) => renderItem(item, i))}
</div>
</nav>
diff --git a/frontend/src/react/components/ProjectSidebar.tsx b/frontend/src/react/components/ProjectSidebar.tsx
index 9f981ae1d1..e34150a59d 100644
--- a/frontend/src/react/components/ProjectSidebar.tsx
+++ b/frontend/src/react/components/ProjectSidebar.tsx
@@ -474,7 +474,7 @@ export function ProjectSidebar() {
>
<img src={logoSrc} alt="Bytebase" className="max-w-44" />
</div>
- <div className="flex-1 overflow-y-auto px-2.5 flex flex-col gap-y-1">
+ <div className="flex-1 overflow-y-auto px-2.5 pb-4 flex flex-col gap-y-1">
{filteredItems.map((item, i) => renderItem(item, i))}
</div>
</nav>