Skip to content

Commit d672c15

Browse files
PetyaMarkovaBogdanovaPetyaMarkovaBogdanova
and
PetyaMarkovaBogdanova
authored
fix(ui5-shellbar): fixed avatar font-size (#11316)
* fix(ui5-shellbar): fixed avatar font-size * Update ShellBar_evolution.html --------- Co-authored-by: PetyaMarkovaBogdanova <[email protected]>
1 parent 996de94 commit d672c15

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/fiori/src/themes/ShellBar.css

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ slot[name="profile"] {
111111
min-width: 0;
112112
min-height: 2rem;
113113
pointer-events: none;
114+
font-size: var(--_ui5-v2-9-0-rc-2_avatar_fontsize_XS);
115+
font-weight: normal;
114116
}
115117

116118
.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive::-moz-focus-inner {

packages/fiori/test/pages/ShellBar_evolution.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@
7272
</ui5-input>
7373

7474
<ui5-toggle-button id="assistantDynamic" icon="sap-icon://da" slot="assistant" text="Assitant" title="Assitant"></ui5-toggle-button>
75-
<ui5-avatar slot="profile">
76-
<img src="./img/John_Miller.png" alt="John Miller">
75+
<ui5-avatar slot="profile" initials="JM"></ui5-avatar>
7776
</ui5-avatar>
7877
</ui5-shellbar>
7978

0 commit comments

Comments
 (0)