You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the detailed writeup, @ele-yufo. I opened #587 implementing this.
It follows your approach (off-canvas drawer with a backdrop, hamburger toggle, horizontally scrollable header controls, ~36px touch targets), with a few adjustments after going through the current dash/src/App.tsx:
The sidebar is the one hard breakage on mobile: at 375px the fixed 240px w-60 aside leaves the main column about 105px wide, and the header controls push the page ~328px wider than the screen. The drawer plus the scrollable header fix both (main goes to 355px, horizontal overflow to 0).
A few of the listed items are already responsive on main, so I left them alone: the stat cards are grid-cols-2 sm:grid-cols-4, the bottom panels are lg:grid-cols-2, and the chart uses recharts' ResponsiveContainer, so those already collapse to a single column and rescale.
Everything mobile is scoped with Tailwind's max-md: variant, so the desktop layout stays byte-identical (no new CSS at >=768px).
I added a little accessibility on top of the visual work: aria-expanded/aria-controls on the hamburger, and visibility: hidden on the closed drawer so its links leave the tab order on mobile rather than staying focusable off-screen.
The full behavior and verification matrix are in the PR. Thanks again for flagging it.
Activity
ozymandiashh commentedon Jul 1, 2026
Thanks for the detailed writeup, @ele-yufo. I opened #587 implementing this.
It follows your approach (off-canvas drawer with a backdrop, hamburger toggle, horizontally scrollable header controls, ~36px touch targets), with a few adjustments after going through the current
dash/src/App.tsx:w-60aside leaves the main column about 105px wide, and the header controls push the page ~328px wider than the screen. The drawer plus the scrollable header fix both (main goes to 355px, horizontal overflow to 0).main, so I left them alone: the stat cards aregrid-cols-2 sm:grid-cols-4, the bottom panels arelg:grid-cols-2, and the chart uses recharts'ResponsiveContainer, so those already collapse to a single column and rescale.max-md:variant, so the desktop layout stays byte-identical (no new CSS at >=768px).aria-expanded/aria-controlson the hamburger, andvisibility: hiddenon the closed drawer so its links leave the tab order on mobile rather than staying focusable off-screen.The full behavior and verification matrix are in the PR. Thanks again for flagging it.