Revert "🐛 Fixed avatar overlapping with initials (#15167)"

This reverts commit 1f9fadf4c7.
This commit is contained in:
Daniel Lockyer 2022-08-05 16:23:29 +02:00
parent 42b6a14380
commit edca39bbc1
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -1,9 +1,8 @@
<figure class="gh-member-gravatar {{@containerClass}}">
{{#if this.avatarImage}}
<img class="gh-member-avatar-image" src="{{this.avatarImage}}" alt="{{or @member.name @member.email}}" />
{{else}}
<div class="gh-member-initials flex items-center justify-center br-100 {{@containerClass}}" style={{this.backgroundStyle}}>
<span class="gh-member-avatar-label {{or @sizeClass "gh-member-list-avatar"}}">{{this.initials}}</span>
</div>
{{#if this.avatarImage}}
<img class="gh-member-avatar-image" src="{{this.avatarImage}}" alt="{{or @member.name @member.email}}" />
{{/if}}
</figure>