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:
co-authored by
Claude Sonnet 5
parent
42073d5d89
commit
8c02fe30d7
@@ -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)}>
|
||||
|
||||
Reference in New Issue
Block a user