diff --git a/frontend/playwright/ui/visual-specs/workspace.spec.js b/frontend/playwright/ui/visual-specs/workspace.spec.js index 1c382e7c25..f18514cc9d 100644 --- a/frontend/playwright/ui/visual-specs/workspace.spec.js +++ b/frontend/playwright/ui/visual-specs/workspace.spec.js @@ -71,8 +71,9 @@ test.describe("Grid layout", () => { await workspace.clickLeafLayer("Board"); const section = page.getByTestId("inspect-layout"); - await expect(section.getByRole("button", { name: "Edit grid" })) - .toBeVisible(); + await expect( + section.getByRole("button", { name: "Edit grid" }), + ).toBeVisible(); // The buttons are a small part of the section: compare every pixel. await expect(section).toHaveScreenshot("grid-layout-options.png", { maxDiffPixelRatio: 0, @@ -187,8 +188,9 @@ test.describe("Design tab", () => { await padding.click(); await padding.blur(); await page.mouse.move(0, 0); - await expect(section.getByRole("textbox", { name: /top padding/i })) - .toBeVisible(); + await expect( + section.getByRole("textbox", { name: /top padding/i }), + ).toBeVisible(); await expect(section).toHaveScreenshot("flex-layout-pressed.png", { maxDiffPixelRatio: 0, threshold: 0, @@ -255,8 +257,9 @@ test.describe("Design tab", () => { await marginMode.click(); await marginMode.blur(); await page.mouse.move(0, 0); - await expect(section.getByRole("textbox", { name: "Top margin" })) - .toBeVisible(); + await expect( + section.getByRole("textbox", { name: "Top margin" }), + ).toBeVisible(); await expect(section).toHaveScreenshot("margin-multiple.png", { maxDiffPixelRatio: 0, threshold: 0, diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.scss b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.scss index 34f3d81b43..c92abb2dc9 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.scss +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.scss @@ -4,13 +4,15 @@ // // Copyright (c) KALEIDOS SUBSIDIARY SL -// TODO: When button replace remove this @use @use "ds/_utils.scss" as *; @use "ds/_sizes.scss" as *; @use "ds/_borders.scss" as *; @use "ds/typography.scss" as t; @use "ds/spacing.scss" as *; @use "ds/mixins.scss" as *; + +// Only for %input-element and %disabled-input (numeric inputs) and the +// secondary and tertiary placeholders of the raw track header buttons. @use "refactor/common-refactor.scss" as deprecated; @use "../../../sidebar/common/sidebar.scss" as sidebar;