Commit 715ac8d
committed
fix(ui): mobile nav vertical position and horizontal alignment
Root cause: float:right on the close button is ignored in flex
containers, so it consumed ~3.25rem of vertical space as a flex row
instead of floating out of flow. This pushed nav items down by
roughly two section-heights.
Fix:
- Close button: position absolute in top-right corner (restoring
the original float:right intent without consuming flow space)
- First nav item: remove top border (no orphan line at list top)
- Nav links: padding-inline 0 so text aligns with divider lines
(panel padding already provides the overall inset)1 parent d907398 commit 715ac8d
1 file changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
364 | 366 | | |
365 | 367 | | |
366 | 368 | | |
367 | | - | |
368 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
369 | 372 | | |
370 | 373 | | |
371 | 374 | | |
| |||
423 | 426 | | |
424 | 427 | | |
425 | 428 | | |
426 | | - | |
| 429 | + | |
427 | 430 | | |
428 | 431 | | |
429 | 432 | | |
430 | | - | |
| 433 | + | |
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
441 | 440 | | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | 441 | | |
447 | | - | |
448 | 442 | | |
449 | 443 | | |
450 | 444 | | |
| |||
0 commit comments