Skip to content
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

Adding sliding effect in hamburger icon and made responsive for phone screen #180

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

DHRUVKAPOOR07
Copy link
Contributor

Hey @Virtual4087 ,
To fix the white line issue, I added overflow-x: hidden to the html and body to prevent horizontal scrolling caused by elements exceeding the viewport width. I applied box-sizing: border-box globally to ensure padding and borders are included in the total element width, avoiding overflow. Lastly, I set the .banner width to 100vw to ensure it fully fits the viewport without extending beyond it and add a sliding effect in navbar when click on hamburger icon

pacuksrl m0e
nnuh0xe4 cz1

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening a pull request @DHRUVKAPOOR07. We will review it as soon as possible 🙌❤️

Copy link
Owner

@Virtual4087 Virtual4087 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @DHRUVKAPOOR07

@Virtual4087 Virtual4087 merged commit 2f9e4cd into Virtual4087:main Oct 25, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants