mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
The left navigation rail in single-pane mode renders a fixed list of pinned screens (Home, Reads, Notifications, ...) plus a 'More' launcher and a stack of bottom controls (relay health, bunker heartbeat, tor status, account switcher). Material3 `NavigationRail` lays its children out in a non-scrollable `Column`. When the window is short — either because the OS window is small or the user pinned several screens — the bottom items in the list (and the 'More' button) get clipped and become unreachable. Replace the `NavigationRail` with a `Column` that mirrors the rail's container styling and splits content into two regions: - A scrollable region (weight(1f) + verticalScroll) holding the pinned screens and the 'More' launcher. Overflow now scrolls instead of clipping. - A fixed bottom region holding the relay health indicator, bunker heartbeat, tor status indicator, and the account switcher. These remain anchored at the bottom of the rail. Item visuals are preserved by keeping `NavigationRailItem` for the items themselves, with `NavigationRailItemDefaults.colors()`. No behavior change when the rail content already fits the window.