From ee2e2ae0ae9991432b16ffd69eb4f22ccfb2869a Mon Sep 17 00:00:00 2001 From: UTCWebDev Date: Wed, 28 Aug 2013 15:55:45 -0400 Subject: [PATCH] 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. --- examples/offcanvas/offcanvas.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/offcanvas/offcanvas.css b/examples/offcanvas/offcanvas.css index 8303a8630b..06aad4bda0 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; }