Fix errant gradient on note to self
This commit is contained in:
@@ -189,20 +189,6 @@ export function Avatar({
|
||||
)}
|
||||
</>
|
||||
);
|
||||
} else if (hasAvatar && !hasImage) {
|
||||
contentsChildren = (
|
||||
<>
|
||||
<div
|
||||
className="module-Avatar__image"
|
||||
style={{
|
||||
backgroundImage: `linear-gradient(to bottom, ${avatarPlaceholderGradient[0]}, ${avatarPlaceholderGradient[1]})`,
|
||||
}}
|
||||
/>
|
||||
{blur === AvatarBlur.BlurPictureWithClickToView && (
|
||||
<div className="module-Avatar__click-to-view">{i18n('icu:view')}</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
} else if (searchResult) {
|
||||
contentsChildren = (
|
||||
<div
|
||||
@@ -221,6 +207,20 @@ export function Avatar({
|
||||
)}
|
||||
/>
|
||||
);
|
||||
} else if (hasAvatar && !hasImage) {
|
||||
contentsChildren = (
|
||||
<>
|
||||
<div
|
||||
className="module-Avatar__image"
|
||||
style={{
|
||||
backgroundImage: `linear-gradient(to bottom, ${avatarPlaceholderGradient[0]}, ${avatarPlaceholderGradient[1]})`,
|
||||
}}
|
||||
/>
|
||||
{blur === AvatarBlur.BlurPictureWithClickToView && (
|
||||
<div className="module-Avatar__click-to-view">{i18n('icu:view')}</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
} else if (shouldUseInitials) {
|
||||
contentsChildren = (
|
||||
<div
|
||||
|
Reference in New Issue
Block a user