Skip to content

Commit ca4c7a3

Browse files
fix(ui): hover active item (#7620)
1 parent 52491f9 commit ca4c7a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/ui-components/Common/BasePagination/PaginationListItem/index.module.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
.listItem:active {
66
@apply aria-current:bg-green-600
77
aria-current:text-white
8+
aria-current:cursor-default
89
flex
910
size-10
11+
cursor-pointer
1012
items-center
1113
justify-center
1214
rounded-sm
@@ -16,7 +18,7 @@
1618
motion-safe:transition-colors
1719
dark:text-neutral-200;
1820

19-
&:hover {
21+
&:hover:not([aria-current='page']) {
2022
@apply bg-neutral-100
2123
text-neutral-800
2224
dark:bg-neutral-900

0 commit comments

Comments
 (0)