Skip to content

Fix navbar icons overlap on mobile view #493

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

devdattatalele
Copy link

🐛 Bug Fix

Fixes #487 - Navbar icons overlap (search icon) on mobile view

Problem

On mobile devices, the search icon and GitHub icon in the navbar were overlapping, creating a cluttered UI and affecting usability.

Solution

Added a CSS media query to introduce proper spacing between right-aligned navbar items on mobile viewports (≤996px).

Changes

  • Added gap: 0.75rem to .navbar__items--right class for mobile screens
  • Uses responsive design principles to maintain desktop layout
  • Non-invasive fix that works with existing Docusaurus navbar structure

Testing

  • ✅ Mobile view spacing improved
  • ✅ Desktop layout unchanged
  • ✅ Responsive breakpoints working correctly

Closes #487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Navbar icons overlap (search icon) on mobile view
1 participant