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
这个提交包含在:
ThibG
2020-05-13 21:20:34 +02:00
提交者 GitHub
父节点 be1e2594fb
当前提交 48503384d0
共有 5 个文件被更改,包括 11 次插入6 次删除

查看文件

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