Skip to content

fix: resolve mobile menu overlap and stacking context. - #49

Open
VarunikaShreeS wants to merge 1 commit into
Vikram-sardiwal:mainfrom
VarunikaShreeS:main
Open

VarunikaShreeS wants to merge 1 commit into
Vikram-sardiwal:mainfrom
VarunikaShreeS:main

Conversation

@VarunikaShreeS

Copy link
Copy Markdown

Description

Fixes mobile navigation menu overlaying text by adding a solid white background, drop shadow, and proper z-index/positioning.

Related Issue

Closes #6

Type of Change

Please select all applicable options:

  • Bug fix
  • New feature
  • Documentation update
  • UI/Styling improvement
  • Refactoring
  • Performance improvement
  • Other (please describe):

Changes Made

  • Added relative z-50 to the header wrapper in src/components/Navbar.jsx.
  • Styled the mobile navigation dropdown with absolute left-0 top-full w-full bg-white z-50 shadow-md pb-4.

Testing

  • Ran npm run lint successfully
  • Tested the changes locally
  • Verified the affected functionality
  • Checked for console errors or warnings
  • Checked responsive design where applicable

Documentation

  • Updated the README or documentation if necessary
  • No documentation changes are required

Screenshots / Videos

(Optional: Drag and drop your mobile screenshot here if you want!)

Checklist

Before submitting this pull request, please confirm:

  • My code follows the project's coding standards.
  • I have tested my changes locally.
  • I have run npm run lint and resolved any issues.
  • I have not introduced unnecessary dependencies.
  • I have updated relevant documentation where necessary.
  • I have reviewed my own changes before requesting a review.
  • I have created a separate branch for this change.
  • I have linked the related issue.
  • Existing functionality still works.

Additional Notes

First open-source contribution!

@VarunikaShreeS

Copy link
Copy Markdown
Author

Hi! Just a friendly check-in on this PR. It looks like the GitHub Actions workflow needs maintainer approval to run since I'm a first-time contributor. Let me know if you need me to make any changes to the code once the checks run. Thanks!

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.

Improve Mobile Responsiveness

1 participant