Commit 49abdca
committed
fix(ui): mobile nav items too low, text misaligned with borders
Root cause: the close button's base styles (float:right, margin with
1rem bottom) were never fully neutralized in the mobile override.
In a flex column container float is ignored, so the button consumed
~3.25rem as a flex row. Previous fix attempts added position:absolute
but left float and margin inherited, which could still affect layout
on iOS WebKit.
Fix: explicitly reset float:none and margin:0 alongside position:
absolute, using physical properties (top/right) for maximum browser
compatibility. Also remove first-child top border and zero out nav
link inline padding so text aligns flush with divider lines.1 parent 715ac8d commit 49abdca
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| |||
0 commit comments