Skip to content

Commit

Permalink
fix(material/paginator): fix style issue
Browse files Browse the repository at this point in the history
fix style issue

fixes b/286098030
  • Loading branch information
DBowen33 committed Sep 24, 2024
1 parent 31806fd commit 6c75730
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/material/paginator/paginator.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

@if (showFirstLastButtons) {
<button mat-icon-button type="button"
class="mat-mdc-paginator-navigation-first"
class="mat-mdc-paginator-navigation-first mat-mdc-button-disabled-interactive"
(click)="firstPage()"
[attr.aria-label]="_intl.firstPageLabel"
[matTooltip]="_intl.firstPageLabel"
Expand All @@ -60,7 +60,7 @@
</button>
}
<button mat-icon-button type="button"
class="mat-mdc-paginator-navigation-previous"
class="mat-mdc-paginator-navigation-previous mat-mdc-button-disabled-interactive"
(click)="previousPage()"
[attr.aria-label]="_intl.previousPageLabel"
[matTooltip]="_intl.previousPageLabel"
Expand All @@ -76,7 +76,7 @@
</svg>
</button>
<button mat-icon-button type="button"
class="mat-mdc-paginator-navigation-next"
class="mat-mdc-paginator-navigation-next mat-mdc-button-disabled-interactive"
(click)="nextPage()"
[attr.aria-label]="_intl.nextPageLabel"
[matTooltip]="_intl.nextPageLabel"
Expand All @@ -93,7 +93,7 @@
</button>
@if (showFirstLastButtons) {
<button mat-icon-button type="button"
class="mat-mdc-paginator-navigation-last"
class="mat-mdc-paginator-navigation-last mat-mdc-button-disabled-interactive"
(click)="lastPage()"
[attr.aria-label]="_intl.lastPageLabel"
[matTooltip]="_intl.lastPageLabel"
Expand Down
2 changes: 1 addition & 1 deletion src/material/paginator/paginator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ $button-icon-size: 28px;
) {
@include token-utils.create-token-slot(fill, enabled-icon-color);

.mat-mdc-icon-button[disabled] & {
.mat-mdc-icon-button[aria-disabled] & {
@include token-utils.create-token-slot(fill, disabled-icon-color);
}
}
Expand Down

0 comments on commit 6c75730

Please sign in to comment.