[CARDS][Note] Fix assumed avatar dimension values
This commit is contained in:
parent
ce23660dba
commit
9d3c01312f
|
@ -91,7 +91,8 @@
|
||||||
|
|
||||||
{% block note_sidebar %}
|
{% block note_sidebar %}
|
||||||
<aside class="note-sidebar">
|
<aside class="note-sidebar">
|
||||||
<img class="u-logo avatar" src="{{ note.getActorAvatarUrl() }}" alt="{{ nickname }}'s avatar" width="32px" height="32px">
|
{% set actor_avatar_dimensions = actor.getAvatarDimensions() %}
|
||||||
|
<img class="u-logo avatar" src="{{ note.getActorAvatarUrl() }}" alt="{{ nickname }}'s avatar" width="{{actor_avatar_dimensions['width']}}" height="{{actor_avatar_dimensions['height']}}">
|
||||||
</aside>
|
</aside>
|
||||||
{% endblock note_sidebar %}
|
{% endblock note_sidebar %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user