Context
QA on the dev server (branch ux/15-eventos, commit dc2a833) at <1024px viewport width: the Monitoramento map panel renders wider than the viewport, triggering horizontal scroll on the page.
Repro
- Open http://127.0.0.1:8081, log in
- Resize browser to 800×600 (or DevTools device emulation <1024px)
- Click Monitoramento tab
- Page scrolls horizontally — the map panel extends past the right edge
Root cause
is a CSS Grid ( on mobile). Grid children default to (= intrinsic content size), so the wide SVG inside pushes the column wider than the viewport. The wrapper can't help because the grid itself expands before the panel can clip.
Confirmed via:
- components.css:644-647: — no on children
- components.css:656-663:
Suggested fix
.monitoramento-grid > * { min-width: 0; }
.monitoramento-map { overflow-x: hidden; }
.monitoramento-map svg { max-width: 100%; height: auto; display: block; }
The is the canonical CSS Grid fix for children that overflow their column. The other two are belt-and-braces against future SVG changes.
Out of scope
PR #29 (the 5 review NITs) does not include this. Will be a separate lane.
Context
QA on the dev server (branch ux/15-eventos, commit dc2a833) at <1024px viewport width: the Monitoramento map panel renders wider than the viewport, triggering horizontal scroll on the page.
Repro
Root cause
is a CSS Grid ( on mobile). Grid children default to (= intrinsic content size), so the wide SVG inside pushes the column wider than the viewport. The wrapper can't help because the grid itself expands before the panel can clip.
Confirmed via:
Suggested fix
The is the canonical CSS Grid fix for children that overflow their column. The other two are belt-and-braces against future SVG changes.
Out of scope
PR #29 (the 5 review NITs) does not include this. Will be a separate lane.