Fix user menu font (#12879)

This commit is contained in:
Florian Duros 2024-08-09 16:15:17 +02:00 committed by GitHub
parent 284cd4082b
commit 5e98cbf409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 1 deletions

View file

@ -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");
});
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -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;