The dashboard is currently optimized for desktop screens.
Add responsive layout support for mobile and tablet devices.
Current issues on mobile:
- Sidebar overlaps content on small screens
- Scan results cards don't stack properly
- Topbar elements are cramped
- Entity graph and GeoIP map are too small to interact with
- Standalone tools grid doesn't adapt to single column
Scope:
- Collapsible sidebar → hamburger menu on screens < 768px
- Stack scan result cards in single column on mobile
- Responsive Topbar with compact mode
- Touch-friendly graph/map controls (zoom, pan)
- Proper viewport meta (already set by Next.js)
- Test on iOS Safari, Android Chrome
Breakpoints:
sm (640px) — phone landscape
md (768px) — tablet portrait
lg (1024px) — tablet landscape / small desktop
Files to modify:
frontend/src/components/Sidebar.tsx — collapsible drawer
- frontend/src/components/Topbar.tsx — compact mode
frontend/src/components/views/ScanResults.tsx — card grid
- frontend/src/components/views/IdleView.tsx — stats + tools grid
- frontend/src/components/App.tsx — layout wrapper
Tech:
- Tailwind responsive prefixes (
sm:, md:, lg:)
- No extra libraries needed
References:
The dashboard is currently optimized for desktop screens.
Add responsive layout support for mobile and tablet devices.
Current issues on mobile:
Scope:
Breakpoints:
sm(640px) — phone landscapemd(768px) — tablet portraitlg(1024px) — tablet landscape / small desktopFiles to modify:
frontend/src/components/Sidebar.tsx— collapsible drawerfrontend/src/components/views/ScanResults.tsx— card gridTech:
sm:,md:,lg:)References: