Skip to content

Commit

Permalink
Fix user menu font (#12879)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Aug 9, 2024
1 parent 284cd40 commit 5e98cbf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions playwright/e2e/user-menu/user-menu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ test.describe("User Menu", () => {

await expect(menu.locator(".mx_UserMenu_contextMenu_displayName", { hasText: user.displayName })).toBeVisible();
await expect(menu.locator(".mx_UserMenu_contextMenu_userId", { hasText: user.userId })).toBeVisible();
await expect(menu).toMatchScreenshot("user-menu.png");
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/css/structures/_UserMenu.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ limitations under the License.

.mx_UserMenu_contextMenu_displayName,
.mx_UserMenu_contextMenu_userId {
font: var(--cpd-font-heading-sm-regular);
font: var(--cpd-font-body-lg-regular);

/* Automatically grow subelements to fit the container */
flex: 1;
Expand Down

0 comments on commit 5e98cbf

Please sign in to comment.