add note to components about nav list nesting
This commit is contained in:
parent
ff92344f0d
commit
40298ddbf1
|
@ -833,18 +833,16 @@
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
<li class="nav-header">
|
<li class="nav-header">List header</li>
|
||||||
List header
|
<li class="active"><a href="#">Home</a></li>
|
||||||
</li>
|
<li><a href="#">Library</a></li>
|
||||||
<li class="active">
|
|
||||||
<a href="#">Home</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#">Library</a>
|
|
||||||
</li>
|
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
|
<p>
|
||||||
|
<span class="label label-info">Note</span>
|
||||||
|
For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code><ul></code>.
|
||||||
|
</p>
|
||||||
|
|
||||||
<h3>Horizontal dividers</h3>
|
<h3>Horizontal dividers</h3>
|
||||||
<p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
|
<p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
|
||||||
|
|
|
@ -756,18 +756,16 @@
|
||||||
</div>{{! /example }}
|
</div>{{! /example }}
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
<li class="nav-header">
|
<li class="nav-header">{{_i}}List header{{/i}}</li>
|
||||||
{{_i}}List header{{/i}}
|
<li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
|
||||||
</li>
|
<li><a href="#">{{_i}}Library{{/i}}</a></li>
|
||||||
<li class="active">
|
|
||||||
<a href="#">{{_i}}Home{{/i}}</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#">{{_i}}Library{{/i}}</a>
|
|
||||||
</li>
|
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
|
<p>
|
||||||
|
<span class="label label-info">{{_i}}Note{{/i}}</span>
|
||||||
|
{{_i}}For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code><ul></code>.{{/i}}
|
||||||
|
</p>
|
||||||
|
|
||||||
<h3>{{_i}}Horizontal dividers{{/i}}</h3>
|
<h3>{{_i}}Horizontal dividers{{/i}}</h3>
|
||||||
<p>{{_i}}Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:{{/i}}</p>
|
<p>{{_i}}Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:{{/i}}</p>
|
||||||
|
|
Loading…
Reference in New Issue