about summary refs log tree commit diff
path: root/app/views/directories
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-05-13 21:20:34 +0200
committerGitHub <noreply@github.com>2020-05-13 21:20:34 +0200
commit48503384d00525fe61a038bdb8a55868fdc1db92 (patch)
treedd1cbf35a273c5e6c0a2c9b475f54a6d6919a6b7 /app/views/directories
parentbe1e2594fbfb4d5ebe7bc0d10d73af7d8ffbf03d (diff)
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
Diffstat (limited to 'app/views/directories')
-rw-r--r--app/views/directories/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/directories/index.html.haml b/app/views/directories/index.html.haml
index bdc1e9d5a..7975ee999 100644
--- a/app/views/directories/index.html.haml
+++ b/app/views/directories/index.html.haml
@@ -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