When visiting on a mobile device and inspecting the elements in Google Chrome, try disabling the style rule overflow-x: hidden
from the body
element and then resizing the window. You may notice a white vertical stripe (padding) appearing on the right side of the layout.
To address this issue, I ended up adding overflow-x:hidden
to the body, but I'm still unsure about what is causing this strange behavior. Are there any alternative solutions to fixing this problem without using overflow-x:hidden
?