Update home page CSS (#32723)

* Update home page CSS

* Update home-thin-viewport snapshot

* Update window-custom-theme snapshot

* Update window-custom-theme snapshot after develop merge
This commit is contained in:
Kamil Wolter
2026-05-05 11:24:52 +00:00
committed by GitHub
parent 53d5986b16
commit 9adaabae66
4 changed files with 49 additions and 26 deletions
@@ -23,6 +23,18 @@ test("Shows the homepage by default", async ({ pageWithCredentials: page }) => {
await expect(page.getByRole("heading", { name: "Welcome Boris", exact: true })).toBeVisible();
});
test(
"Adjusts homepage button layout in thin viewport",
{ tag: "@screenshot" },
async ({ pageWithCredentials: page }) => {
await page.setViewportSize({ width: 920, height: 720 });
await page.goto("/#/home");
await page.waitForSelector(".mx_HomePage", { timeout: 30000 });
await expect(page.locator(".mx_HomePage")).toMatchScreenshot("home-thin-viewport.png");
},
);
test("Shows the last known page on reload", async ({ pageWithCredentials: page }) => {
await page.goto("/");
await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 });
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB