mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Only apply pagination-link hover styles to non-active items (#2433)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
5
.changeset/tidy-jeans-flow.md
Normal file
5
.changeset/tidy-jeans-flow.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix `.pagination-link` hover styles to non-active items
|
||||||
@@ -9,10 +9,10 @@
|
|||||||
.page-link {
|
.page-link {
|
||||||
min-width: 2rem;
|
min-width: 2rem;
|
||||||
border-radius: var(--#{$prefix}pagination-border-radius);
|
border-radius: var(--#{$prefix}pagination-border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
.page-item:not(.active) .page-link:hover {
|
||||||
background: var(--#{$prefix}pagination-hover-bg);
|
background: var(--#{$prefix}pagination-hover-bg);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-text {
|
.page-text {
|
||||||
|
|||||||
Reference in New Issue
Block a user