mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 10:13:52 -04:00
* fix(themes): tighten narrow-viewport sidebar with Material drawer cap Cap `.aside.visible` width at `min(var(--width-aside, 320px), calc(100vw - 56px))` instead of 90%. Themes that define `--width-aside` (Swage) keep their existing value; others get a 320px cap with a 56px touch peek of the underlying view. Also restores aside selectors dropped by recent refactors: - #8201 renamed `.aside:target` to `.aside.visible` in base-theme; this fix applies the same rename in Swage, Nord, Origine, and Alternative-Dark - #8200 dropped Swage's narrow-viewport sidebar width override; the new base cap covers that case for Swage and the other themes equally - Nord's `max-width: 300px` aside override is now redundant with the base cap and is removed * fix(themes): merge duplicate .aside.visible rule --------- Co-authored-by: Bjørn A. Andersen <polybjorn@users.noreply.github.com>