mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fixes #15164: wrap disable pagination spans in another span
This commit is contained in:
parent
c9289691ba
commit
1de638f830
@ -8,26 +8,46 @@
|
|||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li><a href="#"><span aria-hidden="true">«</span><span class="sr-only">Previous</span></a></li>
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<span aria-hidden="true">«</span>
|
||||||
|
<span class="sr-only">Previous</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li><a href="#">1</a></li>
|
<li><a href="#">1</a></li>
|
||||||
<li><a href="#">2</a></li>
|
<li><a href="#">2</a></li>
|
||||||
<li><a href="#">3</a></li>
|
<li><a href="#">3</a></li>
|
||||||
<li><a href="#">4</a></li>
|
<li><a href="#">4</a></li>
|
||||||
<li><a href="#">5</a></li>
|
<li><a href="#">5</a></li>
|
||||||
<li><a href="#"><span aria-hidden="true">»</span><span class="sr-only">Next</span></a></li>
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<span aria-hidden="true">»</span>
|
||||||
|
<span class="sr-only">Next</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li><a href="#"><span aria-hidden="true">«</span><span class="sr-only">Previous</span></a></li>
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<span aria-hidden="true">«</span>
|
||||||
|
<span class="sr-only">Previous</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li><a href="#">1</a></li>
|
<li><a href="#">1</a></li>
|
||||||
<li><a href="#">2</a></li>
|
<li><a href="#">2</a></li>
|
||||||
<li><a href="#">3</a></li>
|
<li><a href="#">3</a></li>
|
||||||
<li><a href="#">4</a></li>
|
<li><a href="#">4</a></li>
|
||||||
<li><a href="#">5</a></li>
|
<li><a href="#">5</a></li>
|
||||||
<li><a href="#"><span aria-hidden="true">»</span><span class="sr-only">Next</span></a></li>
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<span aria-hidden="true">»</span>
|
||||||
|
<span class="sr-only">Next</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
@ -60,8 +80,15 @@
|
|||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li class="disabled"><span aria-hidden="true">«</span><span class="sr-only">Previous</span></li>
|
<li class="disabled">
|
||||||
<li class="active"><span>1 <span class="sr-only">(current)</span></span></li>
|
<span>
|
||||||
|
<span aria-hidden="true">«</span>
|
||||||
|
<span class="sr-only">Previous</span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
<li class="active">
|
||||||
|
<span>1 <span class="sr-only">(current)</span></span>
|
||||||
|
</li>
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user