🌿 Collaborative wiki on ATProto lichen.wiki
atproto
14
fork

Configure Feed

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

Update wiki card if no description

juprodh 72929e48 b32931ca

+2 -2
+2 -2
src/views/wiki-card.ts
··· 25 25 ? `<div class="flex items-center gap-1.5 min-w-0 max-w-[50%] justify-end">${ownerHandle}${ownerAvatar}</div>` 26 26 : ""; 27 27 28 - return `<a href="/wiki/${wiki.slug}" class="block ${THEME.bgSurface} border ${THEME.borderDefault} rounded-lg p-4 hover:shadow-md transition-shadow"> 28 + return `<a href="/wiki/${wiki.slug}" class="flex flex-col h-full ${THEME.bgSurface} border ${THEME.borderDefault} rounded-lg p-4 hover:shadow-md transition-shadow"> 29 29 <div class="flex items-start justify-between gap-2"> 30 30 <h3 class="font-semibold ${THEME.accentText} truncate">${escapeHtml(wiki.name)}</h3> 31 31 ${languageBadge} 32 32 </div> 33 33 ${description} 34 - <div class="flex items-center justify-between gap-2 mt-2 text-xs ${THEME.textMuted}"> 34 + <div class="flex items-center justify-between gap-2 mt-auto pt-2 text-xs ${THEME.textMuted}"> 35 35 <span>${fmt(msg.home.noteCount, { count: String(wiki.note_count) })}</span> 36 36 ${ownerHtml} 37 37 </div>