add set code
This commit is contained in:
@@ -35,10 +35,19 @@ function PrintingRow({ card_id, printing }) {
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
padding: '0.25rem 0',
|
padding: '0.25rem 0',
|
||||||
opacity: loading ? 0.6 : 1
|
opacity: loading ? 0.6 : 1,
|
||||||
|
alignItems: 'center'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span>{printing.set_name} {printing.rarity_name}</span>
|
{/* Left side: Set code, Set name, Rarity */}
|
||||||
|
<span style={{ minWidth: '80px', fontFamily: 'monospace' }}>
|
||||||
|
{printing.set_code}
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
{printing.set_name} {printing.rarity_name}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{/* Right side: Amount buttons */}
|
||||||
<div>
|
<div>
|
||||||
<button onClick={decrement} disabled={loading || currentAmount === 0}>–</button>
|
<button onClick={decrement} disabled={loading || currentAmount === 0}>–</button>
|
||||||
<span style={{ margin: '0 0.5rem' }}>{currentAmount}</span>
|
<span style={{ margin: '0 0.5rem' }}>{currentAmount}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user