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

Extra overflow-x on mobile devices #52

Open
ivansskoro opened this issue Mar 22, 2019 · 0 comments
Open

Extra overflow-x on mobile devices #52

ivansskoro opened this issue Mar 22, 2019 · 0 comments

Comments

@ivansskoro
Copy link

I tried using grid to build my personal website.
On mobile, I always get the x-axis scroll bar, even tho there is no content there.

To see what I'm talking about, go to www.ivanskoro.com and inspect in mobile view (or visit it on a mobile device)

Even tho the body is 100% viewport width, it still has an x-scroll.

The solution is to put "display:block and margins/paddings: 0" on the grid container, but that of course kills the grid.

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

No branches or pull requests

1 participant