fix number input

This commit is contained in:
wass08
2026-02-18 13:37:46 +09:00
parent 47373eadef
commit 586bd9f16c
@@ -145,7 +145,8 @@ export function NumberInput({
{isEditing ? ( {isEditing ? (
<input <input
autoFocus autoFocus
className="flex-1 bg-transparent px-2 py-1 text-foreground text-sm outline-none text-right" size={1}
className="flex-1 min-w-0 bg-transparent px-2 py-1 text-foreground text-sm outline-none text-right"
onBlur={handleInputBlur} onBlur={handleInputBlur}
onChange={handleInputChange} onChange={handleInputChange}
onKeyDown={handleInputKeyDown} onKeyDown={handleInputKeyDown}