Restrict small user avatar picture size to square

This commit is contained in:
Jan Böhmer 2023-02-05 20:06:53 +01:00
parent a925597565
commit 08b60cd149
5 changed files with 40 additions and 14 deletions

View file

@ -169,7 +169,7 @@
{% endmacro %}
{% macro user_icon(user) %}
<img src="{{ avatar_helper.avatarSmURL(user) }}" class="rounded" style="height: 1.2rem;" alt="User avatar" {{ stimulus_controller('elements/hoverpic') }} data-thumbnail="{{ avatar_helper.avatarMdURL(user) }}">
<img src="{{ avatar_helper.avatarSmURL(user) }}" class="avatar-xs" alt="User avatar" {{ stimulus_controller('elements/hoverpic') }} data-thumbnail="{{ avatar_helper.avatarMdURL(user) }}">
{% endmacro %}
{% macro entity_preview_sm(entity) %}