Blender Studio pull request - Version 2.2.0 update #104394
@ -4,6 +4,11 @@
|
|||||||
overflow: hidden
|
overflow: hidden
|
||||||
width: calc(var(--spacer) * 2)
|
width: calc(var(--spacer) * 2)
|
||||||
|
|
||||||
|
.profile-avatar-helper
|
||||||
|
height: calc(var(--spacer) * 2)
|
||||||
|
overflow: hidden
|
||||||
|
width: calc(var(--spacer) * 2)
|
||||||
|
|
||||||
// TODO: cleanup and refactor component markup and style
|
// TODO: cleanup and refactor component markup and style
|
||||||
.comment
|
.comment
|
||||||
display: flex
|
display: flex
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
{% static 'common/images/blank-profile-pic.png' as default_avatar_url %}
|
{% static 'common/images/blank-profile-pic.png' as default_avatar_url %}
|
||||||
{% firstof user.image_url default_avatar_url as avatar_url %}
|
{% firstof user.image_url default_avatar_url as avatar_url %}
|
||||||
|
|
||||||
<div class="profile-avatar avatar-{% firstof size size 'md' %}">
|
<div class="profile-avatar profile-avatar-helper avatar-{% firstof size size 'md' %}">
|
||||||
<img src="{{ avatar_url }}" alt="{{ user.full_name }}" title="{{ user.full_name }}">
|
<img src="{{ avatar_url }}" alt="{{ user.full_name }}" title="{{ user.full_name }}">
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user