Add .has-navbar-fixed-somewhere support to body tag (#1485) (#1490)

* Add .has-navbar-fixed-somewhere support to body tag (#1485)

* update docs
This commit is contained in:
George Chung
2018-02-10 01:42:46 +08:00
committed by Jeremy Thomas
parent 687572b975
commit 0c4482b46d
2 changed files with 5 additions and 3 deletions

View File

@@ -109,10 +109,12 @@ $navbar-divider-background-color: $border !default
&.is-fixed-top
top: 0
html.has-navbar-fixed-top
html.has-navbar-fixed-top,
body.has-navbar-fixed-top
padding-top: $navbar-height
html.has-navbar-fixed-bottom
html.has-navbar-fixed-bottom,
body.has-navbar-fixed-bottom
padding-bottom: $navbar-height
.navbar-brand,