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:
Abdelrhman SaidandPaweł Kuna authored and GitHub committed 2025-07-07 22:01:34 +02:00
1 parent 6fec73a3c4
commit cfd4cb6624
2 files changed
+9 -4

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix `.pagination-link` hover styles to non-active items
+4 -4
View File
@@ -9,10 +9,10 @@
.page-link {
min-width: 2rem;
border-radius: var(--#{$prefix}pagination-border-radius);
}
&:hover {
background: var(--#{$prefix}pagination-hover-bg);
}
.page-item:not(.active) .page-link:hover {
background: var(--#{$prefix}pagination-hover-bg);
}
.page-text {
@@ -68,4 +68,4 @@
.pagination-circle {
--#{$prefix}pagination-border-radius: var(--tblr-border-radius-pill);
}
}