diff --git a/src/components/ScopeCard.tsx b/src/components/ScopeCard.tsx index fbf4fca..4b888fa 100644 --- a/src/components/ScopeCard.tsx +++ b/src/components/ScopeCard.tsx @@ -203,8 +203,8 @@ const ScopeCard: Component = (props) => { onClick={(e) => { if (e.target === e.currentTarget) props.onClearSelection(); }} class="p-6 space-y-4 relative" > -
-
+ 0}> +
{/* Column Headers - Sticky, Square Top */} -
- {/* Scope Level Items */} - !i.subScopeId)}> +
+ {/* Scope Level Items */} + !i.subScopeId)}> {(item) => ( = (props) => { /> )} - - -
- Empty scope. Drag items here or add sub-scopes. +
-
-
-
+
+ + +
+ Empty scope. Drag items here or add sub-scopes. +
+
{/* Sub-scopes */}
diff --git a/src/components/SubScopeCard.tsx b/src/components/SubScopeCard.tsx index 43a52e6..9842870 100644 --- a/src/components/SubScopeCard.tsx +++ b/src/components/SubScopeCard.tsx @@ -164,12 +164,27 @@ const SubScopeCard: Component = (props) => {
-
-
-
{ if (e.target === e.currentTarget) props.onClearSelection(); }} - class="p-2 space-y-1.5" - > +
{ if (e.target === e.currentTarget) props.onClearSelection(); }} + class="p-2 space-y-1.5 relative" + > + {/* SubScope Column Headers */} + 0}> + + + {(item) => ( @@ -194,8 +209,6 @@ const SubScopeCard: Component = (props) => {
-
-
); diff --git a/src/components/estimate-builder/UnassignedItemsSection.tsx b/src/components/estimate-builder/UnassignedItemsSection.tsx index 4180580..475cd86 100644 --- a/src/components/estimate-builder/UnassignedItemsSection.tsx +++ b/src/components/estimate-builder/UnassignedItemsSection.tsx @@ -43,9 +43,8 @@ export const UnassignedItemsSection: Component = (p {props.unassignedItems.length} Items Pending
-
-
- {/* Sticky Column Headers for Unassigned */} +
+ {/* Sticky Column Headers for Unassigned */} -
-
+
);