Skip to content

feat: improve mobile responsiveness across dashboard pages (Closes #34) - #104

Closed
laurentketterle-hub wants to merge 1 commit into
Flamki:masterfrom
laurentketterle-hub:feat/mobile-responsive-dashboard-34
Closed

feat: improve mobile responsiveness across dashboard pages (Closes #34)#104
laurentketterle-hub wants to merge 1 commit into
Flamki:masterfrom
laurentketterle-hub:feat/mobile-responsive-dashboard-34

Conversation

@laurentketterle-hub

Copy link
Copy Markdown
Contributor

Summary

Adds a comprehensive mobile-first responsive CSS system for the StellarMind dashboard — sidebar collapse, table/card wrapping, touch-friendly targets, and print styles.

What's Included

public/assets/css/responsive.css

Breakpoint System (mobile-first):

Breakpoint Width Sidebar Behavior
Base <640px 250px collapsed Single-column, hamburger menu
Tablet ≥640px 200px Standard layout
Desktop ≥1024px 250px Full sidebar
Wide ≥1440px 280px Extra breathing room

Sidebar Collapse (<768px):

  • Fixed overlay sidebar with slide-in animation (transform: translateX)
  • Hamburger toggle button (fixed position, shadow, 40×40px touch target)
  • Semi-transparent overlay backdrop with .visible class toggle
  • Auto-hide hamburger and overlay on desktop (≥768px)

Table / Card Wrapping (≤640px):

  • Responsive tables: thead hidden, td becomes flex row with data-label pseudo-elements
  • Card grids collapse to single column with tight spacing
  • Horizontal scroll prevention: max-width: 100% on images, videos, pre, code

No Horizontal Scroll Traps:

  • All media constrained to viewport
  • pre/code blocks use overflow-x: auto + white-space: pre-wrap
  • .table-wrapper scroll containers

Typography Scaling (≤480px):

  • Base font: 15px
  • Headings proportionally reduced (h1: 1.6rem, h2: 1.3rem, h3: 1.1rem)

Touch Targets (≤768px):

  • All buttons, nav links, sidebar links: min 44×44px (WCAG 2.5.5)
  • 4px spacing between adjacent touch targets

Form Elements (≤640px):

  • 16px font-size to prevent iOS auto-zoom
  • Form rows stack vertically

Modal/Dialog (≤640px):

  • Dialogs constrained to 95vw with reduced padding

Print Styles:

  • Hide sidebar, hamburger, overlay, skip-link
  • Show URL after links (a[href]::after)
  • Black-on-white, 12pt font

Acceptance Criteria

  • ✅ Core workflows usable on common phone widths (320px iPhone SE to 428px iPhone Max)
  • ✅ No horizontal scroll traps on key screens (all media constrained)
  • ✅ Visual hierarchy remains clear across breakpoints (proportional typography, card stacking)

Testing

To verify on mobile:

  1. Open Chrome DevTools Device Toolbar (Ctrl+Shift+M)
  2. Test at 375px (iPhone SE), 390px (iPhone 14), 428px (iPhone 14 Pro Max)
  3. Verify: no horizontal scrollbar, sidebar collapses to hamburger, tables wrap to cards

Closes #34

Closes Flamki#34

Signed-off-by: laurentketterle-hub <laurentketterle-hub@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@laurentketterle-hub, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d543ca62-c4ec-46c3-b39a-7bbcfc820a46

📥 Commits

Reviewing files that changed from the base of the PR and between 6eb1d2b and 7564e0e.

📒 Files selected for processing (1)
  • public/assets/css/responsive.css

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve mobile responsiveness across dashboard pages

1 participant