aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVickash Mahabir <[email protected]>2013-01-18 18:03:43 -0400
committerVickash Mahabir <[email protected]>2013-01-18 18:03:43 -0400
commit67ec13a44c945c61735882ce7e78174ea9e32d74 (patch)
tree369992e62fa795bb24cce7ea7361513828c88c47 /docs
parent964cb773838379319903bcf4b678addc07a55e98 (diff)
downloadbootstrap-67ec13a44c945c61735882ce7e78174ea9e32d74.tar.xz
bootstrap-67ec13a44c945c61735882ce7e78174ea9e32d74.zip
Counters example doesn't need to be a table
Diffstat (limited to 'docs')
-rw-r--r--docs/components.html28
-rw-r--r--docs/templates/pages/components.mustache28
2 files changed, 12 insertions, 44 deletions
diff --git a/docs/components.html b/docs/components.html
index 2040029a3..eeb104168 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -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>&lt;span class="counter"&gt;42&lt;/span&gt;</code>
- </td>
- </tr>
- </tbody>
- </table>
+ <div class="bs-docs-example">
+ <a href="#">Inbox</a> <span class="counter">42</span>
+ </div>
+<pre class="prettyprint linenums">
+&lt;a href="#"&gt;Inbox&lt;/a&gt; &lt;span class="counter"&gt;42&lt;/span&gt;
+</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>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 0d326d02d..8bc15d88b 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -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>&lt;span class="counter"&gt;42&lt;/span&gt;</code>
- </td>
- </tr>
- </tbody>
- </table>
+ <div class="bs-docs-example">
+ <a href="#">Inbox</a> <span class="counter">42</span>
+ </div>
+<pre class="prettyprint linenums">
+&lt;a href="#"&gt;Inbox&lt;/a&gt; &lt;span class="counter"&gt;42&lt;/span&gt;
+</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>