Counters example doesn't need to be a table
This commit is contained in:
parent
964cb77383
commit
67ec13a44c
2 changed files with 12 additions and 44 deletions
|
|
@ -1340,29 +1340,13 @@
|
|||
<h1>Counters</h1>
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Example</th>
|
||||
<th>Markup</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
Default
|
||||
</td>
|
||||
<td>
|
||||
<strong>Inbox</strong> <span class="counter">42</span>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="counter">42</span></code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="bs-docs-example">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</div>
|
||||
|
||||
<pre class="prettyprint linenums">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</pre>
|
||||
<h3>Easily collapsible</h3>
|
||||
<p>For easy implementation, counters will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>
|
||||
|
||||
|
|
|
|||
28
docs/templates/pages/components.mustache
vendored
28
docs/templates/pages/components.mustache
vendored
|
|
@ -1271,29 +1271,13 @@
|
|||
<h1>Counters</h1>
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Example</th>
|
||||
<th>Markup</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
Default
|
||||
</td>
|
||||
<td>
|
||||
<strong>Inbox</strong> <span class="counter">42</span>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="counter">42</span></code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="bs-docs-example">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</div>
|
||||
|
||||
<pre class="prettyprint linenums">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</pre>
|
||||
<h3>Easily collapsible</h3>
|
||||
<p>For easy implementation, counters will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue