fix(ui): keep console layout usable at mid widths

This commit is contained in:
vince 2026-06-20 02:21:16 +02:00
parent 0c75220adc
commit 8bb5052dd5
6 changed files with 98 additions and 14 deletions

View file

@ -21,8 +21,12 @@ test.describe("Storybook theme QA", () => {
await expect(page.locator("html")).toHaveAttribute("data-ui-theme", "light");
await expect(
page.getByRole("button", { name: "Switch to dark theme" }),
page.getByRole("button", { name: "Light theme" }),
).toBeVisible();
await expect(page.getByRole("button", { name: "Light theme" })).toHaveAttribute(
"aria-pressed",
"true",
);
await expect(page.locator("body")).toHaveCSS(
"background-color",
"rgb(238, 242, 231)",