-
Notifications
You must be signed in to change notification settings - Fork 118
Spaced Out search and mode icon #442
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
Conversation
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊 Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv. We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨ 📚Your perks for contribution to this community 👇🏻
If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
@cherylpinto is attempting to deploy a commit to the recode Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the navbar layout issue where the search icon and mode toggle button overlapped on mobile screens, improving navigation usability on smaller devices.
- Added responsive CSS styling for mobile screens (max-width: 768px)
- Implemented proper spacing between navbar elements using flexbox and gap properties
- Ensured consistent alignment and prevented element shrinkage
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
margin-right: 30px; | ||
} | ||
|
Copilot
AI
Aug 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The margin-right: 30px on DocSearch-Button conflicts with the gap: 20px already applied to the parent container. This creates inconsistent spacing (50px total between search and toggle). Consider removing margin-right and relying solely on the gap property for consistent spacing.
margin-right: 30px; | |
} | |
} |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix @cherylpinto
@sanjay-kv Ready to merge.
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Hi @sanjay-kv I noticed you didn't add Gssoc and Labels to this PR, It would be really nice if you could do so. Thanks. |
@iitzIrFan @sanjay-kv Requesting you to please consider my request. |
Fix: Navbar icon overlap in mobile view
Description
This PR resolves an issue where the search icon and the mode toggle button (light/dark switch) overlapped in the navbar on smaller screens.
The overlap made it difficult for users to interact with either element, affecting the overall usability of the navigation bar.
Changes Made
Expected Behavior
Screenshots
Before

After

Fixes #434
Type of Change
Checklist
npm run build
and attached scrrenshot in this PR.