fix(mobile): improve responsiveness and code block button visibility#293
fix(mobile): improve responsiveness and code block button visibility#293mohamedhadri wants to merge 3 commits intoOpenSource-Communities:mainfrom
Conversation
…an click the button to make the code appear in lines, preventing horizontal scroll)
…t metadata in config
✅ Deploy Preview for learn-open-source ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Protected Branch
In order to be considered for merging, the pull request changes must not be implemented on the "main" branch.
We would suggest that you close this pull request, create a new branch, implement your changes, and open a new pull request.
Watched Files
This pull request modifies specific files that require careful review by the maintainers.
Files Matched
- package-lock.json
There was a problem hiding this comment.
Congratulations on submitting your first Pull Request! 🎉
We appreciate your contribution. Feel free to join the conversation in our
Community and say hello!
|
Hey @mohamedhadri, However, we will close this PR with following reasons:
Please refer to this bot warning messages. For the next, kindly address all bot warnings until the check pass. That said, you need to create a new branch to work on changes and don't add and commit the changes in |
Description
This PR fixes mobile responsiveness issues by implementing comprehensive CSS improvements and configuration updates to enhance the documentation site's usability on mobile devices. The changes ensure proper display, prevent horizontal scrolling, and improve accessibility for users on phones and tablets.
Key Improvements:
Mobile Responsiveness and Usability:
@media max-width: 996px) for:Configuration Enhancements:
docusaurus.config.jsto include aviewportmeta tag ensuring proper scaling and rendering on mobile devicesFiles Modified:
src/css/custom.css- Added 200+ lines of mobile-responsive CSSdocusaurus.config.js- Added viewport meta tag configurationRelated Issues
Closes #297
Mobile & Desktop Screenshots/Recordings
Before: Code block buttons invisible on mobile, horizontal scrolling required
After: Buttons always visible, no horizontal scroll, properly scaled images and layout
Steps to QA
Test on multiple screen sizes:
What GIF best describes this PR or how it makes you feel?
Because now mobile users can actually read the docs without doing the horizontal scroll dance! 📱✨