diff options
| author | UTCWebDev <[email protected]> | 2013-08-28 15:55:45 -0400 |
|---|---|---|
| committer | UTCWebDev <[email protected]> | 2013-08-28 15:55:45 -0400 |
| commit | ee2e2ae0ae9991432b16ffd69eb4f22ccfb2869a (patch) | |
| tree | 5c7754f234aef96c01e59a68bf8338d1be60a3bc | |
| parent | 5ce4b8c7ff95a01c0a02b940479d9b6ad21cb4de (diff) | |
| download | bootstrap-ee2e2ae0ae9991432b16ffd69eb4f22ccfb2869a.tar.xz bootstrap-ee2e2ae0ae9991432b16ffd69eb4f22ccfb2869a.zip | |
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.
| -rw-r--r-- | examples/offcanvas/offcanvas.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/offcanvas/offcanvas.css b/examples/offcanvas/offcanvas.css index 8303a8630..06aad4bda 100644 --- a/examples/offcanvas/offcanvas.css +++ b/examples/offcanvas/offcanvas.css @@ -2,6 +2,9 @@ * Style tweaks * -------------------------------------------------- */ +html { + overflow-x: hidden; +} body { padding-top: 70px; } |
