Blender Studio pull request - Version 2.2.0 update #104394

Merged
Márton Lente merged 64 commits from ui/v2.2.0 into main 2024-04-08 16:32:44 +02:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit da50b1c8b3 - Show all commits

View File

@ -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

View File

@ -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 %}