Commit a98bf71
committed
fix: stop card title overlapping mana cost on mobile
On the card detail header (page + embedded in the card-details dialog), the
title h1 was flex-1 next to a shrink-0 mana cost on one row. A long
single-word name at text-4xl overflowed its shrunk box and ran under the
mana symbols.
On mobile, stack them: mana cost on its own line above the title (via
flex-col-reverse so DOM order keeps the title first for a11y) and drop the
title to text-3xl. Desktop keeps the inline title-left / mana-right row.1 parent c8242e7 commit a98bf71
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
| 525 | + | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
0 commit comments