From c4079c384b383a77b1456ef0ae7df6f45c7270c0 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 23 Mar 2026 14:26:39 +0100 Subject: [PATCH] Fix initiative input clipping inside container Widen initiative grid column from 3rem to 3.5rem and use w-full on the editing input so it fits within the rounded background container without overflowing. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/src/components/combatant-row.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/combatant-row.tsx b/apps/web/src/components/combatant-row.tsx index 1331529..dcb2b10 100644 --- a/apps/web/src/components/combatant-row.tsx +++ b/apps/web/src/components/combatant-row.tsx @@ -348,7 +348,7 @@ function InitiativeDisplay({ value={draft} placeholder="--" className={cn( - "h-7 w-[6ch] text-center text-sm tabular-nums", + "h-7 w-full text-center text-sm tabular-nums", dimmed && "opacity-50", )} onChange={(e) => setDraft(e.target.value)} @@ -520,7 +520,7 @@ export function CombatantRow({ isPulsing && "animate-concentration-pulse", )} > -
+
{/* Concentration */}