diff options
| author | Mark Otto <[email protected]> | 2013-08-16 14:12:18 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-16 14:12:18 -0700 |
| commit | 62083a45b7864d23231505d1c9c6bcdfab31e52a (patch) | |
| tree | 590bb8e585d5a1d1a063c7d60a78d30d9098cc10 /examples | |
| parent | d2e2ec0985d030fb230e0b8f133d5d97e453ac60 (diff) | |
| download | bootstrap-62083a45b7864d23231505d1c9c6bcdfab31e52a.tar.xz bootstrap-62083a45b7864d23231505d1c9c6bcdfab31e52a.zip | |
fixes #9701: fix up offcanvas example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/offcanvas/index.html | 2 | ||||
| -rw-r--r-- | examples/offcanvas/offcanvas.css | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html index fcfe48fa8..5d6b7b813 100644 --- a/examples/offcanvas/index.html +++ b/examples/offcanvas/index.html @@ -82,7 +82,7 @@ </div><!--/row--> </div><!--/span--> - <div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation"> + <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation"> <div class="well sidebar-nav"> <ul class="nav"> <li>Sidebar</li> diff --git a/examples/offcanvas/offcanvas.css b/examples/offcanvas/offcanvas.css index e83e71824..df60d6af6 100644 --- a/examples/offcanvas/offcanvas.css +++ b/examples/offcanvas/offcanvas.css @@ -17,7 +17,6 @@ footer { @media screen and (max-width: 768px) { .row-offcanvas { position: relative; - overflow: hidden; /* Needed for Internet Explorer */ -webkit-transition: all 0.25s ease-out; -moz-transition: all 0.25s ease-out; transition: all 0.25s ease-out; @@ -25,24 +24,25 @@ footer { .row-offcanvas-right .sidebar-offcanvas { - right: -58.333333333333336%; /* 6 columns */ + right: -50%; /* 6 columns */ } .row-offcanvas-left .sidebar-offcanvas { - left: -58.333333333333336%; /* 6 columns */ + left: -50%; /* 6 columns */ } .row-offcanvas-right.active { - right: 58.333333333333336%; /* 6 columns */ + right: 50%; /* 6 columns */ } .row-offcanvas-left.active { - left: 58.333333333333336%; /* 6 columns */ + left: 50%; /* 6 columns */ } .sidebar-offcanvas { position: absolute; - width: 58.333333333333336%; /* 6 columns */ + top: 0; + width: 50%; /* 6 columns */ } }
\ No newline at end of file |
