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

Header removes padding when opened on mobile #1087

Closed
idamand opened this issue Dec 23, 2024 · 0 comments · Fixed by #1088
Closed

Header removes padding when opened on mobile #1087

idamand opened this issue Dec 23, 2024 · 0 comments · Fixed by #1088
Assignees

Comments

@idamand
Copy link
Contributor

idamand commented Dec 23, 2024

When opening the mobile menu the padding on the body is removed. This happens because body[data-scroll-locked] removes all padding from body. Need to figure out where that comes from and why that happens.

The problematic behaviour

Screen.Recording.2024-12-23.at.11.35.30.mov

Quick fix

Add !important to padding in body in global.css, need to see if that is a legit way to solve the problem or not.

@idamand idamand moved this to Ready for development in Nye nettsider Dec 23, 2024
@idamand idamand self-assigned this Jan 2, 2025
@idamand idamand moved this from Ready for development to In progress - Development in Nye nettsider Jan 2, 2025
@github-project-automation github-project-automation bot moved this from In progress - Development to Done in Nye nettsider Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant