Repository navigation
Commit 812bd79
committed
fix(nav): keep navbar menus inside tablet viewports
Between 768px and 1023px the desktop navbar is kept, but daisyUI anchors
each dropdown menu to its trigger's left edge. The rightmost menu (theme)
therefore runs past the viewport and adds a page-wide horizontal
scrollbar (up to 22px at 768px).
Anchor the menus to their trigger's right edge instead, matching what the
phone breakpoint already does. Wider layouts are unchanged.1 parent 7d76253 commit 812bd79
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
445 | 456 | | |
446 | 457 | | |
447 | 458 | | |
| |||
0 commit comments