Skip to content

Commit c4a4d41

Browse files
authored
Merge pull request #34 from javaevolved/copilot/change-filter-to-show-label
Change filter label to "Show" and fix alignment on index page
2 parents 0e6e72e + d0a38e4 commit c4a4d41

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

site/styles.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,17 @@ nav {
349349
flex-wrap: wrap;
350350
gap: 8px;
351351
justify-content: center;
352+
align-items: center;
352353
margin-bottom: 40px;
353354
}
354355

356+
.filter-label {
357+
font-size: 0.82rem;
358+
font-weight: 500;
359+
color: var(--text-muted);
360+
padding: 7px 8px 7px 0;
361+
}
362+
355363
.filter-pill {
356364
padding: 7px 16px;
357365
border-radius: 999px;

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ <h2 class="section-title">All comparisons</h2>
227227
<span class="section-badge">{{snippetCount}} snippets</span>
228228
</div>
229229
<div class="filter-pills" id="categoryFilter">
230-
<span class="filter-label">Filter:</span>
230+
<span class="filter-label">Show:</span>
231231
<button class="filter-pill" data-filter="all">All</button>
232232
<button class="filter-pill" data-filter="language">Language</button>
233233
<button class="filter-pill" data-filter="collections">Collections</button>

0 commit comments

Comments
 (0)