Skip to content

Shifted main element #860

Answered by eneben
IsabellUrban asked this question in Web
Discussion options

You must be logged in to vote

We found the solution using Chat GPT. We set overflow: hidden on the body-element. Chat GPT explained that for some systems, scrollbars may behave differently when Dev Tools are open. When Dev Tools are closed, the scrollbar appears, shifting the layout slightly. overflow: hidden solved the problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IsabellUrban
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Web
Labels
None yet
2 participants