0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Prevent X-scroll on small screens

html overflow-x must be hidden to prevent accidental x-scroll on small screens. This is more apparent with touch screens, where the user often gestures diagonally instead of a true vertical gesture.
This commit is contained in:
UTCWebDev 2013-08-28 15:55:45 -04:00
parent 5ce4b8c7ff
commit ee2e2ae0ae

View File

@ -2,6 +2,9 @@
* Style tweaks * Style tweaks
* -------------------------------------------------- * --------------------------------------------------
*/ */
html {
overflow-x: hidden;
}
body { body {
padding-top: 70px; padding-top: 70px;
} }