aboutsummaryrefslogtreecommitdiff
path: root/examples/offcanvas
diff options
context:
space:
mode:
Diffstat (limited to 'examples/offcanvas')
-rw-r--r--examples/offcanvas/index.html3
-rw-r--r--examples/offcanvas/offcanvas.css3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html
index e08a86b69..a9350bdd6 100644
--- a/examples/offcanvas/index.html
+++ b/examples/offcanvas/index.html
@@ -17,7 +17,7 @@
<link href="offcanvas.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy this line! -->
- <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+ <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
@@ -31,6 +31,7 @@
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
diff --git a/examples/offcanvas/offcanvas.css b/examples/offcanvas/offcanvas.css
index 71ad2ac2c..ef632dc00 100644
--- a/examples/offcanvas/offcanvas.css
+++ b/examples/offcanvas/offcanvas.css
@@ -2,7 +2,8 @@
* Style tweaks
* --------------------------------------------------
*/
-html {
+html,
+body {
overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {