mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 18:23:52 -04:00
The narrow-viewport @media block in Pafat repeats the parent `.nav_menu` class on its inner selectors (`.nav_menu .btn` etc. inside a `.nav_menu` nesting block), which native CSS nesting expands to `.nav_menu .nav_menu .btn` and never matches. Buttons and stick/group wrappers in the top nav row at <=840px have therefore been falling back to default layout instead of the intended margins. Drop the redundant `.nav_menu` prefix on the inner selectors so the rules apply as intended. Activating the dormant rules also exposes an asymmetry in the base `.nav_menu` padding (`5px 0 0 2.5rem`: 5px top, 0 bottom). Combined with the now-active 5px button margin, buttons sit a few pixels below the visual centre of the row. Add `padding-bottom: 5px` inside the @media block to rebalance. Co-authored-by: Bjørn A. Andersen <polybjorn@users.noreply.github.com>