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 sidebar margins on mobile devices #2194

Merged
merged 2 commits into from Mar 10, 2023

Conversation

futurGH
Copy link
Contributor

@futurGH futurGH commented Mar 8, 2023

Fixes #2191.

The margin at the top of the sidebar is caused when the display is precisely 1024px wide, because of overlapping min-width and max-width media queries. Also switched to flex for the mobile sidebar to prevent unnecessary gaps.

@Gerrit0 Gerrit0 merged commit 09aa616 into TypeStrong:master Mar 10, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Mar 10, 2023

Thanks!

@futurGH futurGH deleted the mobile-sidebar-fix branch March 10, 2023 02:27
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.

Rendering of the navigation pane on iPad is shifted down
2 participants