From a55a226ed0bb98167ec79a9819c907b57fa835b0 Mon Sep 17 00:00:00 2001 From: mawkone Date: Sun, 14 Jun 2026 14:02:57 -0700 Subject: [PATCH] fix(dashboard): apply workspace layout sizing and independent scroll to databases page --- .../[projectId]/(home)/data/tables/page.tsx | 139 ++++++++++-------- 1 file changed, 76 insertions(+), 63 deletions(-) diff --git a/vibn-frontend/app/[workspace]/project/[projectId]/(home)/data/tables/page.tsx b/vibn-frontend/app/[workspace]/project/[projectId]/(home)/data/tables/page.tsx index f15fcf69..fc484eec 100644 --- a/vibn-frontend/app/[workspace]/project/[projectId]/(home)/data/tables/page.tsx +++ b/vibn-frontend/app/[workspace]/project/[projectId]/(home)/data/tables/page.tsx @@ -53,24 +53,40 @@ export default function DataTablesPage() { return (
-
- + +
+ +
{/* ── Left rail ── */} @@ -79,38 +95,39 @@ export default function DataTablesPage() { minWidth: 0, display: "flex", flexDirection: "column", - gap: 14, + borderRight: `1px solid ${THEME.borderSoft}`, + overflowY: "auto", }} > {showLoading && ( - -
- Loading… -
-
+
+ Loading… +
)} {error && !showLoading && ( - -
- {error} -
-
+
+ {error} +
)} {anatomy && ( @@ -120,36 +137,34 @@ export default function DataTablesPage() { display: "flex", alignItems: "center", justifyContent: "space-between", - padding: "0 4px 8px", + padding: "20px 20px 12px 20px", + position: "sticky", + top: 0, + background: THEME.cardBg, + zIndex: 10, + height: "41px", + boxSizing: "border-box", + borderTopLeftRadius: THEME.radius, }} >

Databases

- - {activeDatabases.length} -
{activeDatabases.length === 0 && (
-
+
); }