Skip to content

Commit

Permalink
fix(material/paginator): match visual and reading order (angular#28285)
Browse files Browse the repository at this point in the history
Fix accessibility issue in MatPaginator component. When screen is
narrow, maintain the visual order with the DOM order.

Current behavior is swappign visual order of "Items Per Page" and
"1 of 4" on narrow screens. With this commit applied, no longer swap the
order.

Co-authored-by: DBowen33 <[email protected]>
  • Loading branch information
2 people authored and essjay05 committed Dec 14, 2023
1 parent 152737b commit 4f09292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/paginator/paginator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $button-icon-size: 28px;
align-items: center;
justify-content: flex-end;
padding: $padding;
flex-wrap: wrap-reverse;
flex-wrap: wrap;
width: 100%;

@include token-utils.use-tokens(
Expand Down

0 comments on commit 4f09292

Please sign in to comment.