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

@@ -819,7 +819,7 @@ document.addEventListener('DOMContentLoaded', function () {
{% highlight html %}<nav class="navbar is-fixed-top">{% endhighlight %}
</li>
<li>
Add the corresponding <code>has-navbar-fixed-top</code> or <code>has-navbar-fixed-bottom</code> modifier to the <code>&lt;html&gt;</code> element to provide the appropriate padding to the page
Add the corresponding <code>has-navbar-fixed-top</code> or <code>has-navbar-fixed-bottom</code> modifier to either <code>&lt;html&gt;</code> or <code>&lt;body&gt;</code> element to provide the appropriate padding to the page
{% highlight html %}<html class="has-navbar-fixed-top">{% endhighlight %}
</li>
</ul>