From 2576e6d1d6fe36fdec782a44bccf0d9ab239ef2b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 5 Feb 2013 00:59:22 -0800 Subject: [PATCH] reorder counters docs --- docs/components.html | 17 ++++++++++------- docs/templates/pages/components.mustache | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/components.html b/docs/components.html index 463c2678e9..46b4fde49c 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1252,16 +1252,22 @@ +

Easily highlight new or unread items by adding a <span class="counter"> to links, Bootstrap navs, and more.

-

Basic usage

-

Counters are used to indicator unread or new items. Add a <span class="counter"> to links, Bootstrap navs, and more.

- Inbox 42 + Inbox 42
-<a href="#">Inbox</a> <span class="counter">42</span>
+<a href="#">
+  Inbox
+  <span class="counter">42</span>
+</a>
 
+

Self collapsing

+

When there are no new or unread items, counters will simply collapse (via CSS's :empty selector) provided no content exists within.

+ +

Adapts to active nav states

Built-in styles are included for placing counters in active states in pill and list navigations.