From 6617574c16fe2e6a35143d0e598e164ef311a8ac Mon Sep 17 00:00:00 2001 From: Timothy Cardoza Date: Wed, 11 Mar 2026 14:59:29 -0500 Subject: [PATCH] Layout fixes --- src/AppContainer.tsx | 4 +-- src/components/EstimateBuilder.tsx | 2 +- src/components/ItemRow.tsx | 4 +-- src/components/ScopeCard.tsx | 32 +++++++++++-------- src/components/SubScopeCard.tsx | 12 ++++--- .../estimate-builder/BuilderHeader.tsx | 4 +-- .../estimate-builder/ProjectDetailsForm.tsx | 16 +++++----- .../UnassignedItemsSection.tsx | 32 +++++++++++-------- 8 files changed, 59 insertions(+), 47 deletions(-) diff --git a/src/AppContainer.tsx b/src/AppContainer.tsx index 0274fd3..dc375bf 100644 --- a/src/AppContainer.tsx +++ b/src/AppContainer.tsx @@ -10,7 +10,7 @@ const AppContainer: Component = (props) => {
{/* Top Navigation Bar */}
-
+
@@ -39,7 +39,7 @@ const AppContainer: Component = (props) => {
{/* Main Content Area */} -
+
{props.children}
diff --git a/src/components/EstimateBuilder.tsx b/src/components/EstimateBuilder.tsx index bbf875b..033a388 100644 --- a/src/components/EstimateBuilder.tsx +++ b/src/components/EstimateBuilder.tsx @@ -212,7 +212,7 @@ const EstimateBuilder: Component = (props) => { onAddScope={addScope} /> -
+
diff --git a/src/components/ItemRow.tsx b/src/components/ItemRow.tsx index 3345038..6a9b7d3 100644 --- a/src/components/ItemRow.tsx +++ b/src/components/ItemRow.tsx @@ -70,13 +70,13 @@ const ItemRow: Component = (props) => { e.stopPropagation(); props.onToggleSelection(props.item.id, e.metaKey || e.ctrlKey, e.shiftKey); }} - class={`cursor-grab transition-colors shrink-0 w-4 mt-2 p-1 -m-1 rounded hover:bg-muted ${props.isSelected ? 'text-primary' : 'text-muted-foreground/30 hover:text-muted-foreground/60'}`} + class={`cursor-grab transition-colors shrink-0 w-4 mt-2 p-1 rounded hover:bg-muted ${props.isSelected ? 'text-primary' : 'text-muted-foreground/30 hover:text-muted-foreground/60'}`} title="Drag to move or click to select" >
-
+