about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-25 21:43:33 +0200
committerGitHub <noreply@github.com>2022-10-25 21:43:33 +0200
commit6f01111863bfb15b3574c95c8d60d59ae1d79772 (patch)
treea05764ee37dee9b0b62793fef00969658f2b7dde /app/helpers
parent267978d4fe0eaee92f64d505df2a4a07d22f582c (diff)
Fix wrong size of avatars in admin UI (#19457)
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/home_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb
index 4da68500a..f41104709 100644
--- a/app/helpers/home_helper.rb
+++ b/app/helpers/home_helper.rb
@@ -23,7 +23,7 @@ module HomeHelper
                   else
                     link_to(path || ActivityPub::TagManager.instance.url_for(account), class: 'account__display-name') do
                       content_tag(:div, class: 'account__avatar-wrapper') do
-                        image_tag(full_asset_url(current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url), class: 'account__avatar')
+                        image_tag(full_asset_url(current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url), class: 'account__avatar', width: 46, height: 46)
                       end +
                         content_tag(:span, class: 'display-name') do
                           content_tag(:bdi) do