Fix e2e shield being invisible in white mode for encrypted room (#30408) (#30411)

Co-authored-by: Florian Duros <florianduros@element.io>
This commit is contained in:
ElementRobot 2025-07-28 09:58:20 +01:00 committed by GitHub
parent acb3d31a07
commit db5c69e228
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View File

@ -158,6 +158,8 @@ test.describe("Cryptography", function () {
await page.getByRole("textbox", { name: "Send a message…" }).press("Enter");
await checkDMRoom(page);
const bobRoomId = await bobJoin(page, bob);
await expect(page.locator(".mx_MessageComposer_e2eIcon")).toMatchScreenshot("composer-e2e-icon-normal.png");
await testMessages(page, bob, bobRoomId);
await verify(app, bob);

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

View File

@ -52,7 +52,13 @@ Please see LICENSE files in the repository root for full details.
.mx_E2EIcon_normal::after {
mask-image: url("$(res)/img/e2e/normal.svg");
background-color: white;
background-color: var(--cpd-color-icon-tertiary);
}
.mx_E2EIcon_verified {
.mx_E2EIcon_normal::after {
background-color: white;
}
}
.mx_E2EIcon_verified::after {