Fix mobile responsiveness across all pages#2847
Merged
Merged
Conversation
Replace hardcoded widths with fluid/responsive alternatives to prevent horizontal overflow on screens < 375px, improve touch targets to meet 44px WCAG minimum, and add responsive grid breakpoints for exercise layouts. Critical fixes: - Statistics chart: remove hardcoded 1000px width, auto-size to container - Modal body: add 1024px intermediate breakpoint (was jumping 1200px→640px) - Robot 404 SVG: replace fixed 320x300 with max-width:100%/height:auto - Error page pre: add overflow-x-auto and whitespace-pre-wrap - Image display block: min-width min(350px, 100%) - Exercise type card: max-width:410px + width:100% instead of fixed 410px Layout fixes: - Responsive avatars/logos on description, specialists, developers, profile - Overflow-hidden on negative-margin containers - Confirm dialog: max-w-[calc(100vw-2rem)] on mobile - Grids collapse to fewer columns on small screens (audiometry, auditory sequence, phoneme pairs) - Footer sponsors: add flex-wrap - Task player: cap 4-5 column exercises to 2 columns on mobile - Contributors: add gap-4 for consistent spacing Touch & polish: - Text-image button landscape min-height 40px→44px - Header language buttons: min-h/w 44px touch targets - Header dropdown: remove white-space:nowrap - Landing hero: text-2xl sm:text-4xl, max-h-[70vh] sm:max-h-[860px] - Exercise button: max-width min(168px, 100%) - Fix pre-existing invalid Tailwind class min-width-10→min-w-10 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Frontend test coverage: 70.66% (+0.03% compared to 70.63% on base) |
Mark all external links (target="_blank") in the "other-menu" dropdown with a small arrow-out-of-box SVG icon positioned at the top-right, helping users distinguish external from internal navigation links. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Frontend test coverage: 70.66% (+0.07% compared to 70.59% on base) |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
min(),max-width, and responsive Tailwind breakpointsTest plan
🤖 Generated with Claude Code