audio streaming app plyr.fm
38
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: show all likers in tooltip without scrolling (#236)

removed the 10-liker limit and max-height scroll from the tooltip.
now shows all likers in a vertical list that expands as needed.

authored by

nate nowack and committed by
GitHub
89748e5f 796124c9

+1 -6
+1 -6
frontend/src/lib/components/LikersTooltip.svelte
··· 78 78 <div class="error">{error}</div> 79 79 {:else if likers.length > 0} 80 80 <div class="likers-list"> 81 - {#each likers.slice(0, 10) as liker} 81 + {#each likers as liker} 82 82 <a 83 83 href="/u/{liker.handle}" 84 84 class="liker" ··· 97 97 <div class="liked-time">{formatTime(liker.liked_at)}</div> 98 98 </a> 99 99 {/each} 100 - {#if likers.length > 10} 101 - <div class="more">+{likers.length - 10} more</div> 102 - {/if} 103 100 </div> 104 101 {/if} 105 102 </div> ··· 139 136 display: flex; 140 137 flex-direction: column; 141 138 gap: 0.5rem; 142 - max-height: 300px; 143 - overflow-y: auto; 144 139 } 145 140 146 141 .liker {