fix(Pagination): don't show click feedback when button is disabled (#11779)

This commit is contained in:
neverland 2023-04-26 20:18:23 +08:00 committed by GitHub
parent f10557a211
commit c7df4290e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,12 @@
}
&--disabled {
color: var(--van-pagination-item-disabled-color);
background-color: var(--van-pagination-item-disabled-background);
opacity: var(--van-pagination-disabled-opacity);
&,
&:active {
color: var(--van-pagination-item-disabled-color);
background-color: var(--van-pagination-item-disabled-background);
opacity: var(--van-pagination-disabled-opacity);
}
}
}