Skip to content

Commit 2bd2204

Browse files
vladitasevilhan007
authored andcommittedJan 21, 2020
fix(ui5-avatar): remove background color when there is no image (#1148)
1 parent 44e631a commit 2bd2204

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎packages/main/src/themes/Avatar.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@
8181
width: 3rem;
8282
}
8383

84-
:host(:not([img-src])) {
84+
:host(:not([img])) {
8585
background-color: var(--sapAccentColor6);
8686
}
8787

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

@@ -100,4 +100,4 @@
100100
height: 100%;
101101
width: 100%;
102102
border-radius: 50%;
103-
}
103+
}

0 commit comments

Comments
 (0)
Please sign in to comment.