mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-22 10:59:31 +00:00
Restrict small user avatar picture size to square
This commit is contained in:
parent
a925597565
commit
08b60cd149
5 changed files with 40 additions and 14 deletions
|
|
@ -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) %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue