File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /giscus-theme.css
2+ Access-Control-Allow-Origin: https://giscus.app
Original file line number Diff line number Diff line change @@ -129,17 +129,9 @@ const handle = "codingwithcalvin.net";
129129 if (likesLabel) likesLabel.textContent = likes === 1 ? 'like from' : 'likes from';
130130 if (repostsLabel) repostsLabel.textContent = reposts === 1 ? 'repost from' : 'reposts from';
131131
132- // Hide likers section if no likes
133- const likersSection = container.querySelector('.likers-section');
134- if (likes === 0 && likersSection) {
135- likersSection.classList.add('hidden');
136- }
137-
138- // Hide reposters section if no reposts
139- const repostersSection = container.querySelector('.reposters-section');
140- if (reposts === 0 && repostersSection) {
141- repostersSection.classList.add('hidden');
142- }
132+ // Note: We always show the sections even with 0 counts
133+ // The count displays "0 likes from" / "0 reposts from"
134+ // Avatars area remains empty when there are no likers/reposters
143135
144136 // Update Bluesky link
145137 if (blueskyLink) {
You can’t perform that action at this time.
0 commit comments