Respect size

This commit is contained in:
Jorge Manrubia
2025-11-07 12:57:55 +01:00
parent 1f56adf8aa
commit a3387f9fb2
+1 -1
View File
@@ -21,7 +21,7 @@ module AvatarsHelper
def mail_avatar_tag(user, size: 48, **options)
if user.avatar.attached?
image_tag user_avatar_url(user), alt: user.name, class: "avatar", **options
image_tag user_avatar_url(user), alt: user.name, class: "avatar", size: size, **options
else
tag.span class: "avatar", style: "background-color: #{avatar_background_color(user)};" do
user.initials