Centre the finished transfers toggle under the trade and gift tiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5d23b2188c
commit
0262f596c9
3 changed files with 5 additions and 3 deletions
|
|
@ -162,7 +162,7 @@ export function TransfersPanel({ catalog, state, runMutation, busy, content, dra
|
|||
</TransferCard>)}</div>
|
||||
</section>}
|
||||
|
||||
{finished.length > 0 && <section aria-label={content.finishedTitle}>
|
||||
{finished.length > 0 && <section className="nebula-transfers-history" aria-label={content.finishedTitle}>
|
||||
<button className="nds-button" data-size="sm" data-variant="secondary" type="button" aria-expanded={showFinished} onClick={() => setShowFinished(!showFinished)}>{content.finishedTitle} ({finished.length})</button>
|
||||
{showFinished && <div className="nebula-transfers-list nebula-transfers-finished">{finished.map((transfer) => <TransferCard key={transfer.id} catalog={catalog} transfer={transfer} content={content} now={now} />)}</div>}
|
||||
</section>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue