Prevent horizontal scroll on mobile browsers if page wrapper is pushed off-screen

This commit is contained in:
Shane Nelson 2017-10-13 19:09:28 -04:00
parent 71689da6b1
commit a2759b7bd2
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
html, html {
body {
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
color: #333; color: #333;
overflow-x: hidden;
} }
body { body {
margin: 0; margin: 0;

View File

@ -1,6 +1,7 @@
html, body { html {
font-family: "Open Sans", sans-serif font-family: "Open Sans", sans-serif
color: #333 color: #333
overflow-x: hidden
} }
body { body {