Skip to content

Commit c4756b9

Browse files
committed
a11y: #4226 material fix style of pagination chevrons
1 parent 37a1abe commit c4756b9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/themes/material/assets/mat.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,21 @@ p + .btn-background {
962962
text-decoration: underline;
963963
}
964964

965+
/* Fix chevron icon clipping in pagination */
966+
pagination li a:has(i) {
967+
display: flex;
968+
align-items: center;
969+
justify-content: center;
970+
min-height: 2.5rem;
971+
padding: 0.5rem;
972+
}
973+
974+
.pagination li a i {
975+
font-size: 1rem;
976+
line-height: 1;
977+
vertical-align: middle;
978+
}
979+
965980
/* Hide mobile navigation from keyboard navigation on wide screens */
966981
@media only screen and (min-width: 993px) {
967982
.sidenav {

0 commit comments

Comments
 (0)