Skip to content

Commit 6ab2236

Browse files
committed
refactor(guess-the-word): simplify styles for Definitions tab pagination
1 parent 69eac6e commit 6ab2236

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

vanilla/guess-the-word/components/menu/DefinitionsTabContent.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="definition-pages-container"></div>
22
<nav aria-label="Definition pages">
3-
<menu id="definition-pagination" class="pagination">
3+
<menu id="definition-pagination" class="pagination | flex justify-center">
44
<li class="pagination__item">
55
<button
66
class="pagination__trigger"

vanilla/guess-the-word/src/styles/pagination.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
.pagination {
22
--_hover: var(--slate-950);
33

4-
/* TODO: use `.flex.justify-center` utility classes */
5-
display: flex;
6-
justify-content: center;
74
gap: 12px;
8-
95
padding-bottom: 0.125rem;
10-
116
font-size: var(--pagination-item-size, 1.125rem);
127
}
138

0 commit comments

Comments
 (0)