Skip to content

Commit a3207e5

Browse files
authored
fix(ui5-shellbar): Fix profile bg-color (#1945)
We used to force background-color: transparent to the ui5-avatar, when used as profile. But, it turns out that this is not needed, in classic UI5, the Avatar is displayed with its default AccentBGColor6 and we align to this with the change. Moreover, in Fiori3 Dark, the transparent Avatar leads to missing color contrast as shown in the issue. FIXES: #1944
1 parent 9141300 commit a3207e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/fiori/src/themes/ShellBar.css

+2-3
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,9 @@ slot[name="profile"] {
8080

8181
::slotted(ui5-avatar[slot="profile"]) {
8282
min-width: 0;
83-
width: 2.25rem;
84-
height: 2.25rem;
83+
width: 2rem;
84+
height: 2rem;
8585
padding: .25rem;
86-
background-color: transparent;
8786
pointer-events: none;
8887
}
8988

0 commit comments

Comments
 (0)