Skip to content

Commit

Permalink
fix(ui5-avatar): remove background color when there is no image (#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev authored and ilhan007 committed Jan 21, 2020
1 parent 44e631a commit 2bd2204
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/main/src/themes/Avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
width: 3rem;
}

:host(:not([img-src])) {
:host(:not([img])) {
background-color: var(--sapAccentColor6);
}

:host(:not([img-src])) .ui5-avatar-icon {
:host(:not([img])) .ui5-avatar-icon {
color: var(--sapContent_ImagePlaceholderForegroundColor);
}

Expand All @@ -100,4 +100,4 @@
height: 100%;
width: 100%;
border-radius: 50%;
}
}

0 comments on commit 2bd2204

Please sign in to comment.