fix(ui): keep console layout usable at mid widths
This commit is contained in:
parent
0c75220adc
commit
8bb5052dd5
6 changed files with 98 additions and 14 deletions
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue