Skip to content

Commit

Permalink
fix(ui5-shellbar): Fix profile bg-color (#1945)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ilhan007 authored Jul 13, 2020
1 parent 9141300 commit a3207e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/fiori/src/themes/ShellBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ slot[name="profile"] {

::slotted(ui5-avatar[slot="profile"]) {
min-width: 0;
width: 2.25rem;
height: 2.25rem;
width: 2rem;
height: 2rem;
padding: .25rem;
background-color: transparent;
pointer-events: none;
}

Expand Down

0 comments on commit a3207e5

Please sign in to comment.