about summary refs log tree commit diff
path: root/app/views/statuses/_simple_status.html.haml
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/statuses/_simple_status.html.haml
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/statuses/_simple_status.html.haml')
-rw-r--r--app/views/statuses/_simple_status.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/statuses/_simple_status.html.haml b/app/views/statuses/_simple_status.html.haml
index ff09ab2ee..d7853eca9 100644
--- a/app/views/statuses/_simple_status.html.haml
+++ b/app/views/statuses/_simple_status.html.haml
@@ -9,9 +9,9 @@
         .status__avatar
           %div
             - if current_account&.user&.setting_auto_play_gif || autoplay
-              = image_tag status.account.avatar_original_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar'
+              = image_tag status.account.avatar_original_url, alt: '', class: 'u-photo account__avatar'
             - else
-              = image_tag status.account.avatar_static_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar'
+              = image_tag status.account.avatar_static_url, alt: '', class: 'u-photo account__avatar'
         %span.display-name
           %bdi
             %strong.display-name__html.p-name.emojify= display_name(status.account, custom_emojify: true, autoplay: autoplay)