Fix user menu font (#12879)
parent
284cd4082b
commit
5e98cbf409
|
@ -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_displayName", { hasText: user.displayName })).toBeVisible();
|
||||||
await expect(menu.locator(".mx_UserMenu_contextMenu_userId", { hasText: user.userId })).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 |
|
@ -111,7 +111,7 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_UserMenu_contextMenu_displayName,
|
.mx_UserMenu_contextMenu_displayName,
|
||||||
.mx_UserMenu_contextMenu_userId {
|
.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 */
|
/* Automatically grow subelements to fit the container */
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
Loading…
Reference in New Issue