Fix stat kind dropdown sizing to match number inputs

The new kind <select> fell through to the generic input/select CSS
rule instead of the compact .se-num sizing, making it visually
inconsistent with the min/max/initial number boxes next to it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parththakkar106
2026-07-21 17:40:22 +05:30
co-authored by Claude Sonnet 5
parent 42073d5d89
commit 8c02fe30d7
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ function StatEditor({ statKey, def, onRenameKey, onChange, onRemove }) {
</>
)}
<Num label="cooldown" value={def.cooldown} onChange={(v) => set('cooldown', v)} />
<label className="se-num">
<label className="se-num se-kind">
<span>kind</span>
<select value={isText ? 'text' : (def.type === 'counter' ? 'counter' : 'number')}
onChange={(e) => setType(e.target.value === 'number' ? undefined : e.target.value)}>