From dfc4cccb56c8e5d0000a61fd667d2a2c65080fa6 Mon Sep 17 00:00:00 2001 From: Timothy Cardoza Date: Fri, 13 Mar 2026 16:49:17 -0500 Subject: [PATCH] Layout Fixes --- src/components/ItemRow.tsx | 414 ++++++++++-------- src/components/ScopeCard.tsx | 92 ++-- src/components/SubScopeCard.tsx | 82 ++-- .../UnassignedItemsSection.tsx | 51 ++- src/components/template/TemplateItemRow.tsx | 192 ++++---- 5 files changed, 461 insertions(+), 370 deletions(-) diff --git a/src/components/ItemRow.tsx b/src/components/ItemRow.tsx index d5beefd..0570ba3 100644 --- a/src/components/ItemRow.tsx +++ b/src/components/ItemRow.tsx @@ -56,7 +56,7 @@ const ItemRow: Component = (props) => { return (
= (props) => { ${isEditing() ? 'ring-1 ring-primary/20 shadow-premium border-primary/30' : 'rounded-2xl'} `} > -
props.onDragStart(e, props.item.id)} - onClick={(e) => { - 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 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" - > - +
+
props.onDragStart(e, props.item.id)} + onClick={(e) => { + 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 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" + > + +
+ +
+