Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5e98cbf

Browse files
authored
Fix user menu font (#12879)
1 parent 284cd40 commit 5e98cbf

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

playwright/e2e/user-menu/user-menu.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ test.describe("User Menu", () => {
2525

2626
await expect(menu.locator(".mx_UserMenu_contextMenu_displayName", { hasText: user.displayName })).toBeVisible();
2727
await expect(menu.locator(".mx_UserMenu_contextMenu_userId", { hasText: user.userId })).toBeVisible();
28+
await expect(menu).toMatchScreenshot("user-menu.png");
2829
});
2930
});
11.4 KB
Loading

res/css/structures/_UserMenu.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ limitations under the License.
111111

112112
.mx_UserMenu_contextMenu_displayName,
113113
.mx_UserMenu_contextMenu_userId {
114-
font: var(--cpd-font-heading-sm-regular);
114+
font: var(--cpd-font-body-lg-regular);
115115

116116
/* Automatically grow subelements to fit the container */
117117
flex: 1;

0 commit comments

Comments
 (0)