diff options
| author | Mark Otto <[email protected]> | 2012-08-27 10:56:46 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-27 10:56:46 -0700 |
| commit | 1c9d5c43b06dc81de1320227244246a17d3a79f3 (patch) | |
| tree | 86205eeddd550ebc2543108f9e5d2e9fbe00b4b8 /docs/components.html | |
| parent | a2b9a5e1fecbcad93c0f1b08bf7f470c2aaaabdd (diff) | |
| download | bootstrap-1c9d5c43b06dc81de1320227244246a17d3a79f3.tar.xz bootstrap-1c9d5c43b06dc81de1320227244246a17d3a79f3.zip | |
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
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/components.html b/docs/components.html index 4eccbbc9e..f47aecbf1 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1473,7 +1473,7 @@ </div> </div> <pre class="prettyprint linenums"> -<div class="pagination "> +<div class="pagination"> <ul> <li class="disabled"><a href="#">Prev</a></li> <li class="active"><a href="#">1</a></li> @@ -1481,6 +1481,16 @@ </ul> </div> </pre> + <p>You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.</p> +<pre class="prettyprint linenums"> +<div class="pagination"> + <ul> + <li class="disabled"><span>Prev</span></li> + <li class="active"><span>1</span></li> + ... + </ul> +</div> +</pre> <h3>Alignment</h3> <p>Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p> |
