defuser count padding

This commit is contained in:
Djeeberjr 2021-11-15 19:24:12 +01:00
parent 3412e78237
commit ba61a5258c

View File

@ -17,8 +17,8 @@ const DeckComp: React.FC<Props> = ({deck,side,title,onChange}) => {
return ( return (
<div className="bg-gray-800 m-1 p-1 overflow-x-scroll"> <div className="bg-gray-800 m-1 p-1 overflow-x-scroll">
<span className="font-bold">{title}</span> <span className="font-bold">{title}</span>
{ side === Side.CT && <span> { side === Side.CT && <span className="px-2">
D: <NumEdit Defuser: <NumEdit
value={deck.numDefusers} value={deck.numDefusers}
onChange={newNum => onChange?.(new Deck(Math.max(newNum,0),...deck.cardGroups))} onChange={newNum => onChange?.(new Deck(Math.max(newNum,0),...deck.cardGroups))}
/> </span> } /> </span> }