Skip to content

Node.js based forum software built for the modern web

fix: align teaser avatar

Barış Soner Uşaklı5fcd1a8ad6ac
diff --git a/src/views/partials/chats/recent_room.tpl b/src/views/partials/chats/recent_room.tpl
index ea904ace6a..57caf57301 100644
--- a/src/views/partials/chats/recent_room.tpl
+++ b/src/views/partials/chats/recent_room.tpl
@@ -34,7 +34,7 @@
{{{ if ./teaser }}}
<div class="teaser-content text-sm line-clamp-3 text-break">
- <span href="#" class="text-decoration-none">{buildAvatar(./teaser.user, "14px", true)}</span>
+ {buildAvatar(./teaser.user, "14px", true, "align-middle")}
<strong class="text-xs fw-semibold teaser-username">{./teaser.user.username}:</strong>
{./teaser.content}
</div>