mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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:
parent
5ce4b8c7ff
commit
ee2e2ae0ae
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
* Style tweaks
|
||||
* --------------------------------------------------
|
||||
*/
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body {
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue