Use appropriate image sizes and lazy loading in moderationbox

This commit is contained in:
Andreas Nedbal 2022-10-10 23:14:45 +02:00
parent 66c80d2add
commit fedfbb1333
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
.card.moderationbox{ data: { id: report.id } }
.card-header
%img.avatar-sm{ src: report.user.profile_picture.url(:medium) }
%img.avatar-sm{ src: report.user.profile_picture.url(:small), loading: :lazy }
= t(".reported_html",
user: user_screen_name(report.user),
content: report.type.sub("Reports::", ""),