Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@
text-align: right;
}
.compact-views, .compact-votes { display: none; }
.compact-views {
.compact-views, .compact-votes {
align-items: center;
gap: 0.25rem;
color: var(--text-lighter);
Expand Down Expand Up @@ -2140,7 +2140,7 @@ <h2 class="card-title">
${formatCount(stats.views)}
</div>` : ''}
${stats.hasUpvotes ? `<div class="compact-votes" aria-label="${stats.upvotes} upvotes">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 15l-6-6-6 6"/></svg>
<svg width="14" height="14" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"/></svg>
<span class="vote-count">${formatCount(stats.upvotes)}</span>
</div>` : ''}
<div class="card-footer">
Expand All @@ -2154,7 +2154,7 @@ <h2 class="card-title">
${formatCount(stats.views)}
</span>` : ''}
${stats.hasUpvotes ? `<span class="stat-views" aria-label="${stats.upvotes} upvotes">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 15l-6-6-6 6"/></svg>
<svg width="14" height="14" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"/></svg>
<span class="vote-count">${formatCount(stats.upvotes)}</span>
</span>` : ''}
</div>
Expand Down