Skip to content

Commit 6e99305

Browse files
committed
Pagination: Use fluid space scale
1 parent 361efba commit 6e99305

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/components/pagination.module.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
.pagination {
2-
text-align: center;
2+
display: flex;
3+
align-items: center;
4+
justify-content: center;
35
font-size: 90%;
4-
margin-bottom: 20px;
6+
margin-bottom: var(--space-xs);
57

68
ol {
79
list-style: none;
810
padding: 0;
11+
margin: 0;
912
}
10-
ol, li { display: inline; }
13+
ol, li { display: inline-block; }
1114

1215
a {
1316
color: var(--main-color-light);
1417
text-decoration: none;
15-
padding: 5px 6px;
18+
padding: var(--space-3xs) var(--space-2xs);
19+
border-radius: var(--space-3xs);
1620
}
1721
a:hover { background-color: var(--main-bg-dark); }
1822
a:global(.active) { background-color: var(--main-bg-dark); }

0 commit comments

Comments
 (0)