1
0
Fork 0
forked from fedi/mastodon

Fix wrong size of avatars in admin UI (#19457)

This commit is contained in:
Eugen Rochko 2022-10-25 21:43:33 +02:00 committed by GitHub
parent 267978d4fe
commit 6f01111863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -359,8 +359,9 @@
vertical-align: initial !important;
}
&__interrelationships {
tbody td.accounts-table__interrelationships {
width: 21px;
padding-right: 16px;
}
.fa {