diff options
| author | Mark Otto <[email protected]> | 2013-12-14 16:20:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-14 16:20:19 -0800 |
| commit | 83c60ef3eec234b3dac94c841fd1f13f94aab36f (patch) | |
| tree | 0d896dedbbd47723ab769b139b63a5a58778e578 /examples/offcanvas | |
| parent | 3bfa630d2afe70452861b2466daab78daa47dda8 (diff) | |
| parent | 4afcebe0e71aafd0cfb501548a6591effdbe2e70 (diff) | |
| download | bootstrap-83c60ef3eec234b3dac94c841fd1f13f94aab36f.tar.xz bootstrap-83c60ef3eec234b3dac94c841fd1f13f94aab36f.zip | |
Merge branch 'master' into pr/11107
Conflicts:
docs-assets/js/raw-files.js
Diffstat (limited to 'examples/offcanvas')
| -rw-r--r-- | examples/offcanvas/index.html | 6 | ||||
| -rw-r--r-- | examples/offcanvas/offcanvas.css | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html index b077bf168..a9350bdd6 100644 --- a/examples/offcanvas/index.html +++ b/examples/offcanvas/index.html @@ -16,9 +16,12 @@ <!-- Custom styles for this template --> <link href="offcanvas.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[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]> - <script src="https://oss.maxcdn.com/libs/html5shiv/3.6.2/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> @@ -28,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 { |
