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. + */