mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03: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:
@@ -2,6 +2,9 @@
|
||||
* Style tweaks
|
||||
* --------------------------------------------------
|
||||
*/
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body {
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user