diff --git a/design-decisions.md b/design-decisions.md index 99115f4..9b2fff1 100644 --- a/design-decisions.md +++ b/design-decisions.md @@ -8,8 +8,8 @@ ## Global Rules (Apply to Every Page) ### Sidebar -- **Expanded width**: 100px (not 80px — needs room for labels) -- **Collapsed width**: 60px (icon only) +- **Expanded width**: 200px (matches mockup proportions — needs room for labels) +- **Collapsed width**: 64px (icon only) - **User can manually collapse/expand** via toggle button (not just responsive) - **Main content margin-left** must match sidebar width exactly diff --git a/src/App.tsx b/src/App.tsx index f535b1b..969b4a2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,7 +7,7 @@ import BottomRow from './components/BottomRow' function App() { const [sidebarCollapsed, setSidebarCollapsed] = useState(false) - const sidebarWidth = sidebarCollapsed ? 60 : 140 + const sidebarWidth = sidebarCollapsed ? 64 : 200 return (
{
- const target = e.currentTarget
- target.style.display = 'none'
- target.parentElement!.classList.add('bg-card')
- target.parentElement!.style.height = '260px'
- }}
- />
-
{
+ const target = e.currentTarget
+ target.style.display = 'none'
+ target.parentElement!.classList.add('bg-card')
+ }}
+ />
+ {/* Side vignette so the rectangular image blends into the page edges */}
+
{/* KPI cards positioned so their bottom edge aligns with banner bottom */}