Fix user menu font (#12879)

dbkr/sss
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;