Shifted main element #860
-
Hi team, Strangely, this does not happen when I have the Dev Tools open. It also only happens on my computer – everyone else does not have this problem. Does anyone have any idea what could be causing this? Thanks in advance. Here the Link to vercel and to our code |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We found the solution using Chat GPT. We set |
Beta Was this translation helpful? Give feedback.
We found the solution using Chat GPT. We set
overflow: hidden
on thebody
-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.