read.markets/app/static/css
Giorgio Gilestro 5ceee96135 mobile: fix drawer stacking + horizontal page overflow
Two related bugs reported on phone:

1. Drawer was unclickable — backdrop covered it. Root cause: the
   .app-header (position:sticky, z-index:50) creates a stacking
   context, so the drawer inside it had its z-index:100 clamped to
   "above other things inside the header" but NOT above siblings of
   the header. The backdrop at root-level z:90 then sat over the
   drawer subtree.

   Fix: when body.drawer-open, raise .app-header z-index to 110
   so its entire descendant tree (drawer included) draws above the
   z:90 backdrop. The page body under the header stays dimmed.

2. Horizontal scrolling on the dashboard. Root cause: the bottom
   markets bar used `grid-template-columns: repeat(auto-fit,
   minmax(220px, 1fr))`, which at 4+ markets blows out to 880px+ and
   forces the page wider than the viewport.

   Fix: on ≤480px the markets bar becomes a horizontally scrolling
   flex strip with min-width:160px per chip — page stays narrow,
   user swipes the bar to see more markets.

Also added overflow-x:hidden to html/body as a defensive net against
the fixed off-screen drawer creating overflow on Safari iOS.
2026-05-28 18:55:04 +02:00
..
auth.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
dashboard.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
layout.css mobile: fix drawer stacking + horizontal page overflow 2026-05-28 18:55:04 +02:00
log-chat.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
news.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
panels.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
portfolio.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
public.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
settings.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
tokens.css css: split cassandra.css into per-section files 2026-05-28 12:31:29 +02:00