0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/app/assets
Krzysztof Kotlarek 70cdb7885a
UX: Prevent wide tables from breaking the dashboard (#41648)
Previously, the reports section used `1fr` grid tracks, which cannot
shrink below a grid item's min-content width — a table-style report with
many columns (e.g. a wide Data Explorer query) forced its column to grow
and blew the whole section out of the page.

This change caps the tracks with `minmax(0, 1fr)`, so cards keep equal
widths and wide tables are clipped at the card edge; admins can click
into the report to see the full table.

Before:
<img width="1112" height="874" alt="Screenshot 2026-07-13 at 1 44 04 pm"
src="https://github.com/user-attachments/assets/e0778374-ff29-4964-872f-7dcab9bf1ce0"
/>


After:
<img width="1087" height="850" alt="Screenshot 2026-07-13 at 1 44 40 pm"
src="https://github.com/user-attachments/assets/7a47e04d-4983-4051-84f3-b9ef48c79d5d"
/>
2026-07-14 08:59:53 +08:00
..
images FIX: Duplicate notifications when mentioned in chat (#39670) 2026-04-30 14:52:39 -03:00
stylesheets UX: Prevent wide tables from breaking the dashboard (#41648) 2026-07-14 08:59:53 +08:00