Skip to content

Commit 32e4284

Browse files
authored
fix(ui5-user-menu): correct design inconsistencies (#11829)
1 parent d0758fd commit 32e4284

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

packages/fiori/src/themes/UserMenu.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
display: flex;
4949
align-items: center;
5050
flex-direction: column;
51-
margin-bottom: 1rem;
51+
margin-block-end: 0.5rem;
5252
overflow: hidden;
5353
}
5454

@@ -72,23 +72,22 @@
7272
}
7373

7474
.ui5-user-menu-selected-account-description {
75-
margin-bottom: 1rem;
7675
font-family: var(--sapFontFamily);
7776
font-size: var(--sapFontSize);
7877
color: var(--sapContent_LabelColor)
7978
}
8079

8180
.ui5-user-menu-manage-account-btn {
8281
font-family: var(--sapFontSemiboldDuplexFamily);
82+
margin-block-start: 1rem;
8383
}
8484

85-
8685
.ui5-user-menu-sign-out-btn {
8786
font-family: var(--sapFontSemiboldDuplexFamily);
8887
}
8988

9089
.ui5-user-menu-other-accounts {
91-
margin-bottom: 1rem;
90+
margin-block-end: 0.5rem;
9291
}
9392

9493
.ui5-user-menu-other-accounts::part(header) {
@@ -106,7 +105,6 @@
106105
width: 100%;
107106
height: 4.5rem;
108107
gap: 12px;
109-
padding-block: 8px 16px;
110108
}
111109

112110
.ui5-user-menu-other-accounts-info {

packages/fiori/src/themes/UserMenuItem.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
:host {
2-
height: 40px;
3-
margin-block: 0.5rem;
2+
height: 40px;
43
}
54

65
:host(:last-of-type) {

0 commit comments

Comments
 (0)