Skip to content

fix(issue-details): improve mobile layout on issue details page#1230

Merged
anderdc merged 3 commits into
entrius:testfrom
nickmopen:fix/issue-details-mobile-layout
May 22, 2026
Merged

fix(issue-details): improve mobile layout on issue details page#1230
anderdc merged 3 commits into
entrius:testfrom
nickmopen:fix/issue-details-mobile-layout

Conversation

@nickmopen
Copy link
Copy Markdown
Contributor

@nickmopen nickmopen commented May 18, 2026

  • Add scrollable tabs with auto scroll buttons so all tabs are reachable on narrow viewports
  • Make issue title font size responsive (1.2rem on xs, 1.5rem on sm+) with word-break to prevent overflow
  • Switch meta row (Bounty/Author/Created) from flex-column to a 2-column grid on mobile
  • Always apply minWidth={832} on submissions table so columns never compress below readable widths

Summary

Fix several mobile layout issues on the Issue Details page (/bounties/details):

  • Tab bar: Added variant="scrollable" and scrollButtons="auto" so all tabs are reachable on narrow viewports without clipping
  • Issue title: Font size is now responsive (1.2rem on xs, 1.5rem on sm+) with wordBreak: 'break-word' to prevent long titles from
    overflowing
  • Meta row (Bounty / Author / Created): Switched from a stacked flex-column to a 2-column CSS grid on mobile — Bounty spans full width on
    row 1, Author and Created sit side-by-side on row 2
  • Submissions table: minWidth={832} is now always applied (previously only on isMobile < 600px), ensuring columns never compress to
    unreadable widths at any viewport

Related Issues

Fixes: #939

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshot

Before:

Gittensor-Issue-Details-05-18-2026_11_08_PM

After:

Observability-structured-logging-secret-redaction-helpers-Gittensor-05-18-2026_11_08_PM

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked
  • Tested against the test API
  • npm run format and npm run lint:fix have been run
  • npm run build passes
  • Screenshots included for any UI/visual changes

- Add scrollable tabs with auto scroll buttons so all tabs are reachable on narrow viewports
- Make issue title font size responsive (1.2rem on xs, 1.5rem on sm+) with word-break to prevent overflow
- Switch meta row (Bounty/Author/Created) from flex-column to a 2-column grid on mobile
- Always apply minWidth={832} on submissions table so columns never compress below readable widths
@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 18, 2026
nickmopen added 2 commits May 18, 2026 21:22
…width

Extract the repeated meta-label sx in IssueHeaderCard into a single
metaLabelSx const, and replace the bare minWidth={832} magic number in
IssueSubmissionsTable with a named, documented constant. No UI change.
@anderdc anderdc merged commit f8155b8 into entrius:test May 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(issue-details): IssueDetailsPage is not mobile responsive — layout breaks on small screens

2 participants