Skip to content

Commit 18ac5d5

Browse files
committed
Pagination: Fix .active link styling
1 parent 27e6f6f commit 18ac5d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/components/pagination.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
padding: 5px 6px;
1616
}
1717
a:hover { background-color: $main-bg-dark; }
18-
a.active { background-color: $main-bg-dark; }
18+
a:global(.active) { background-color: $main-bg-dark; }
1919

2020
img, svg { vertical-align: middle; }
2121

22-
.next.active,
23-
.prev.active,
22+
.next:global(.active),
23+
.prev:global(.active),
2424
.next:hover,
2525
.prev:hover {
2626
background: none;

0 commit comments

Comments
 (0)