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

fix: prevent main admin content from shrinking to 0px #11215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Livog
Copy link
Contributor

@Livog Livog commented Feb 16, 2025

What?
Switched min-width from 100% to 100vw for screen widths under 768px.

Why?
Using 100% caused the content to shrink to 0px when the navigation menu opened on mobile. 100vw keeps the layout full-width and prevents collapsing.

How?
Within the media query for max-width: 768px, we set min-width: 100vw, ensuring the content remains stable on small screens.

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.

1 participant