]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add clarification about three empty spans for the navbar-burger
authorDavide Taviani <helios89@gmail.com>
Mon, 17 Sep 2018 13:50:45 +0000 (15:50 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 17 Sep 2018 16:40:37 +0000 (17:40 +0100)
It was not clear in the documentation that you *need* to have the 3 empty spans or otherwise the lines (and the cross) wouldn't show up.

docs/documentation/components/navbar.html

index 17536b5bd1b5430511f7c1fa18a214287c01a54b..84a9e1760fec5ed5f83c0c662c8528903677d3cb 100644 (file)
@@ -634,7 +634,7 @@ $(document).ready(function() {
 
 <div class="content">
   <p>
-    The <code>navbar-burger</code> is a hamburger menu that only appears on <strong>mobile</strong>. It has to appear as the last child of <code>navbar-brand</code>.
+    The <code>navbar-burger</code> is a hamburger menu that only appears on <strong>mobile</strong>. It has to appear as the last child of <code>navbar-brand</code>. It has to contain three empty <code>span</code> tags in order to visualize the hamburger lines or the cross (when active).
   </p>
 </div>