aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/examples/offcanvas/index.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-04-01 14:10:34 -0700
committerMark Otto <[email protected]>2018-04-01 18:15:06 -0700
commit974742942461ef99ba8603eef4a90f7edbe9c68e (patch)
tree50c5f93f627c53a883a1a43aa73bf52adc7361bd /docs/4.0/examples/offcanvas/index.html
parente47fb40ff250a82bcd24577e0073ce8aa147ef0f (diff)
downloadbootstrap-974742942461ef99ba8603eef4a90f7edbe9c68e.tar.xz
bootstrap-974742942461ef99ba8603eef4a90f7edbe9c68e.zip
Update offcanvas example for IE support
- Replaces CSS variables with their appropriate hex values - Fixes the broken navbar transition by moving from 2D translates to using position - Fix broken IE navbar toggler placement with some utilities (not necessary anywhere else, but necessary given flexbox quirks)
Diffstat (limited to 'docs/4.0/examples/offcanvas/index.html')
-rw-r--r--docs/4.0/examples/offcanvas/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/examples/offcanvas/index.html b/docs/4.0/examples/offcanvas/index.html
index eb85d1040..ed315db32 100644
--- a/docs/4.0/examples/offcanvas/index.html
+++ b/docs/4.0/examples/offcanvas/index.html
@@ -18,8 +18,8 @@
<body class="bg-light">
- <nav class="navbar navbar-expand-md fixed-top navbar-dark bg-dark">
- <a class="navbar-brand" href="#">Offcanvas navbar</a>
+ <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
+ <a class="navbar-brand mr-auto mr-lg-0" href="#">Offcanvas navbar</a>
<button class="navbar-toggler p-0 border-0" type="button" data-toggle="offcanvas">
<span class="navbar-toggler-icon"></span>
</button>