Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcfd4cb6

Browse files
Only apply pagination-link hover styles to non-active items (#2433)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
1 parent6fec73a commitcfd4cb6

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

‎.changeset/tidy-jeans-flow.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tabler/core":patch
3+
---
4+
5+
Fix`.pagination-link` hover styles to non-active items

‎core/scss/ui/_pagination.scss‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
.page-link {
1010
min-width:2rem;
1111
border-radius:var(--#{$prefix}pagination-border-radius);
12+
}
1213

13-
&:hover {
14-
background:var(--#{$prefix}pagination-hover-bg);
15-
}
14+
.page-item:not(.active).page-link:hover {
15+
background:var(--#{$prefix}pagination-hover-bg);
1616
}
1717

1818
.page-text {
@@ -68,4 +68,4 @@
6868

6969
.pagination-circle {
7070
--#{$prefix}pagination-border-radius:var(--tblr-border-radius-pill);
71-
}
71+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp