mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-11 12:21:15 +01:00
Fix user menu font (#12879)
This commit is contained in:
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…
x
Reference in New Issue
Block a user