diff --git a/packages/chess/src/ui/ModifierProfileEditor.tsx b/packages/chess/src/ui/ModifierProfileEditor.tsx index 4f67c4d..443bdd9 100644 --- a/packages/chess/src/ui/ModifierProfileEditor.tsx +++ b/packages/chess/src/ui/ModifierProfileEditor.tsx @@ -265,11 +265,13 @@ export function ModifierProfileEditor({ className="fixed inset-0 z-50 bg-black/60 backdrop-blur-sm flex items-center justify-center p-4" >
- {/* Header */} -
-
+ {/* Header — identity row: title, name, close. Keeps the modal + scannable: one job per row. Secondary/toolbar controls live + in the subhead below; history + clipboard live in the footer. */} +
+

- Modifier Profiles + Profile

({ ...p, name: e.target.value })) } placeholder="Profile name" - className="px-3 py-1 text-sm border border-neutral-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500" + className="flex-1 min-w-0 max-w-md px-3 py-1.5 text-sm border border-neutral-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500" maxLength={40} /> - {/* Bound layout for per-instance modifiers */} -
- - -
-
- +
+ + {/* Subhead toolbar — one-line row for Layout binding on the + left and primary/secondary actions on the right. This + replaces the former 9-element crammed header. */} +
+
+
+
+ - -
-
+
{/* Conflict Resolution Panel */} + + {/* Footer — history controls + clipboard badge. These are + global to the whole modal but secondary to authoring, so + they anchor the bottom instead of crowding the header. */} +