JavaScript-optional public web frontend for Bluesky anartia.kelinci.net
sveltekit atcute bluesky typescript svelte
7
fork

Configure Feed

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

fix: properly trim description

Mary bce96be3 eb581a7d

+5 -3
+5 -3
src/lib/components/profiles/profile-item.svelte
··· 27 27 </a> 28 28 </div> 29 29 30 - {#if 'description' in profile && profile.description?.trim()} 31 - <p class="bio">{profile.description}</p> 32 - {/if} 30 + <p class="bio">{'description' in profile ? profile.description?.trim() : undefined}</p> 33 31 </div> 34 32 </div> 35 33 ··· 105 103 overflow: hidden; 106 104 -webkit-line-clamp: 2; 107 105 -webkit-box-orient: vertical; 106 + 107 + &:empty { 108 + display: none; 109 + } 108 110 } 109 111 </style>