From b52564d44dd1c8fac277901acab2ce0d8e0074f8 Mon Sep 17 00:00:00 2001 From: Timothy Cardoza Date: Fri, 13 Mar 2026 18:41:44 -0500 Subject: [PATCH] mid layout change --- src/components/EstimateBuilder.tsx | 14 ++++- .../estimate-builder/BuilderSidebar.tsx | 63 ++++++++----------- 2 files changed, 36 insertions(+), 41 deletions(-) diff --git a/src/components/EstimateBuilder.tsx b/src/components/EstimateBuilder.tsx index f2f24c9..83507c3 100644 --- a/src/components/EstimateBuilder.tsx +++ b/src/components/EstimateBuilder.tsx @@ -208,8 +208,16 @@ const EstimateBuilder: Component = (props) => { onSaveChanges={() => appStore.isLatestVersion() ? saveChangesToCloud() : saveAsNewestToCloud()} /> -
- + = (props) => { onAddScope={addScope} /> -
+
diff --git a/src/components/estimate-builder/BuilderSidebar.tsx b/src/components/estimate-builder/BuilderSidebar.tsx index a630afb..4f621c8 100644 --- a/src/components/estimate-builder/BuilderSidebar.tsx +++ b/src/components/estimate-builder/BuilderSidebar.tsx @@ -22,14 +22,20 @@ export const BuilderSidebar: Component = (props) => { }; return ( + /* + * The sidebar sits inside a CSS grid column (in EstimateBuilder.tsx). + * It fills its column completely. When the column width transitions to 0, + * the sidebar content is clipped by overflow-hidden on this element. + * This means the main content genuinely reclaims the space. + */