From 1c9d5c43b06dc81de1320227244246a17d3a79f3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 27 Aug 2012 10:56:46 -0700 Subject: fixes #4640: pagination span issues resolved by scoping selectors to appropriate children, not all children; clarify docs on use of spans for disabled and active links --- docs/components.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 4eccbbc9e..f47aecbf1 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1473,13 +1473,23 @@
-<div class="pagination ">
+<div class="pagination">
   <ul>
     <li class="disabled"><a href="#">Prev</a></li>
     <li class="active"><a href="#">1</a></li>
     ...
   </ul>
 </div>
+
+

You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.

+
+<div class="pagination">
+  <ul>
+    <li class="disabled"><span>Prev</span></li>
+    <li class="active"><span>1</span></li>
+    ...
+  </ul>
+</div>
 

Alignment

-- cgit v1.2.3