diff --git a/vibn-frontend/components/project/database-table-tree.tsx b/vibn-frontend/components/project/database-table-tree.tsx
index 36d21bc..dfac12e 100644
--- a/vibn-frontend/components/project/database-table-tree.tsx
+++ b/vibn-frontend/components/project/database-table-tree.tsx
@@ -182,14 +182,14 @@ function SchemaGroup({
style={{
...row,
background: active ? THEME.subtleBg : "transparent",
- borderColor: active ? THEME.border : "transparent",
+ borderColor: "transparent",
color: active ? THEME.ink : THEME.mid,
fontWeight: active ? 500 : 400,
}}
aria-pressed={active}
>
-
- {open && items}
+ {/*
+ We remove the schema chevron wrapper entirely, which flattens the tree.
+ Tables are now a single list, just like files inside a flat directory.
+ */}
+ {items}
);
}
@@ -255,23 +251,23 @@ const row: React.CSSProperties = {
display: "flex",
alignItems: "center",
gap: 6,
- width: "100%",
- padding: "5px 8px",
+ width: "fit-content",
+ padding: "4px 8px 4px 0",
border: "1px solid transparent",
- borderRadius: 5,
+ borderRadius: THEME.radiusSm,
cursor: "pointer",
font: "inherit",
color: "inherit",
textAlign: "left",
+ transition: "all 0.1s ease",
};
const tableName: React.CSSProperties = {
- fontSize: "0.78rem",
+ fontSize: "0.875rem",
color: INK.ink,
flex: 1,
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
- fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace",
};
const rowCount: React.CSSProperties = {
fontSize: "0.68rem",