Replace disabled attr on pagination anchor elements with is-disabled class (#3296)

This commit is contained in:
@CAYdenberg 2021-10-08 10:24:00 -07:00 committed by Jeremy Thomas
parent 4508573d93
commit a28bf751b1
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,7 @@ meta:
{% capture pagination_options_example %}
<nav class="pagination" role="navigation" aria-label="pagination">
<a class="pagination-previous" title="This is the first page" disabled>Previous</a>
<a class="pagination-previous is-disabled" title="This is the first page">Previous</a>
<a class="pagination-next">Next page</a>
<ul class="pagination-list">
<li>

View File

@ -88,7 +88,8 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($scheme-invert, 0.2) !default
border-color: $pagination-focus-border-color
&:active
box-shadow: $pagination-shadow-inset
&[disabled]
&[disabled],
&.is-disabled
background-color: $pagination-disabled-background-color
border-color: $pagination-disabled-border-color
box-shadow: none