mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Revert "🐛 Fixed avatar overlapping with initials (#15167)"
This reverts commit 1f9fadf4c7
.
This commit is contained in:
parent
42b6a14380
commit
edca39bbc1
@ -1,9 +1,8 @@
|
|||||||
<figure class="gh-member-gravatar {{@containerClass}}">
|
<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}}>
|
<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>
|
<span class="gh-member-avatar-label {{or @sizeClass "gh-member-list-avatar"}}">{{this.initials}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
{{#if this.avatarImage}}
|
||||||
|
<img class="gh-member-avatar-image" src="{{this.avatarImage}}" alt="{{or @member.name @member.email}}" />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</figure>
|
</figure>
|
||||||
|
Loading…
Reference in New Issue
Block a user