This repository was archived by the owner on Feb 27, 2026. It is now read-only.
Fix mobile responsive layout - buttons overflowing viewport#283
Merged
danielalves96 merged 4 commits intonextfrom Oct 20, 2025
Merged
Fix mobile responsive layout - buttons overflowing viewport#283danielalves96 merged 4 commits intonextfrom
danielalves96 merged 4 commits intonextfrom
Conversation
Co-authored-by: danielalves96 <62755605+danielalves96@users.noreply.github.com>
Co-authored-by: danielalves96 <62755605+danielalves96@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix poor display on mobile devices
Fix mobile responsive layout - buttons overflowing viewport
Oct 9, 2025
| .steering | ||
| data/ | ||
|
|
||
| node_modules/ No newline at end of file |
Contributor
There was a problem hiding this comment.
@copilot keep the node_modules/ dont change this line
Contributor
Author
There was a problem hiding this comment.
Fixed in commit e8f9a12 - kept the node_modules/ line unchanged and added screenshots/ as a separate line.
Co-authored-by: danielalves96 <62755605+danielalves96@users.noreply.github.com>
danielalves96
approved these changes
Oct 20, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Mobile Display Fix - Complete ✅
This PR fixes the mobile responsive layout issue where buttons were overflowing on mobile devices.
Problem
On mobile devices (iPhone and other small screens), action buttons in various components were overflowing out of the viewport because they were using fixed horizontal layouts that didn't adapt to smaller screens.
Solution
Applied responsive Tailwind CSS classes to make layouts stack vertically on mobile (
< 640px) and remain horizontal on larger screens (≥ 640px):flextoflex flex-col sm:flex-rowfor container elementsitems-centertoitems-stretch sm:items-centerfor proper mobile button sizingw-full sm:w-autoto buttons to ensure full-width on mobile, auto-width on desktopgap-4for proper spacing between stacked elementsFiles Modified
recent-shares.tsx- Dashboard recent shares section (2 buttons)recent-files.tsx- Dashboard recent files section (2 buttons)share-details.tsx- Share page download buttonshares-search.tsx- Shares page create buttonreverse-shares-search.tsx- Reverse shares page (2 buttons)files/header.tsx- Files page header (2 buttons)Testing
Technical Details
sm:breakpoint (640px) to switch between mobile and desktop layoutsOriginal prompt
Fixes #280
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.