From fedfbb1333f4a5ab9882c6db0ab20dbce7e4b7a0 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 10 Oct 2022 23:14:45 +0200 Subject: [PATCH] Use appropriate image sizes and lazy loading in moderationbox --- app/views/moderation/_moderationbox.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/moderation/_moderationbox.haml b/app/views/moderation/_moderationbox.haml index 583d8c9a..5c8546cc 100644 --- a/app/views/moderation/_moderationbox.haml +++ b/app/views/moderation/_moderationbox.haml @@ -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::", ""),