Fix some account avatars on public pages having incorrect size (#13692)

* Fix some account avatars on public pages having incorrect size

* Remove outdated and overridden width and height attributes

* Remove more hardcoded width/height attributes
This commit is contained in:
ThibG
2020-05-13 21:20:34 +02:00
committed by GitHub
parent be1e2594fb
commit 48503384d0
5 changed files with 11 additions and 6 deletions

View File

@ -25,7 +25,7 @@
.directory__card__bar
= link_to TagManager.instance.url_for(account), class: 'directory__card__bar__name' do
.avatar
= image_tag account.avatar.url, alt: '', width: 48, height: 48, class: 'u-photo'
= image_tag account.avatar.url, alt: '', class: 'u-photo'
.display-name
%bdi