-
Notifications
You must be signed in to change notification settings - Fork 617
Fix Share button visibility in iPad portrait mode with long descriptions #11048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: abchatra <[email protected]>
Co-authored-by: abchatra <[email protected]>
Co-authored-by: abchatra <[email protected]>
|
@copilot try and fix by adding a max height to the description text and make it scrollable after that size is reached |
Co-authored-by: jwunderl <[email protected]>
Fixed in 39b1401. Added a scrollable description container with max-height: 8rem and overflow-y: auto. Long descriptions now scroll while keeping the Share and YouTube buttons visible and accessible. |




The Share button in tutorial detail modals was pushed below the viewport on iPad portrait and other narrow viewports when tutorial descriptions were long (approximately 3x normal length).
Root Cause
Long tutorial descriptions expanded the modal container, pushing the Share and YouTube buttons below the visible area on mobile and tablet devices.
Solution
Added a scrollable description container to limit description height while keeping buttons visible:
Files Changed:
/webapp/src/projects.tsx- Wrapped description paragraphs in a.description-containerdiv/theme/home.less- Added styles for.description-containerImpact:
Testing
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.