Skip to content

Commit 15d6819

Browse files
committed
Fixed viewport for AppLayout stories
1 parent 686257c commit 15d6819

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/lib/src/layout/ApplicationLayout.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@ const Tooltip = () => (
180180
);
181181

182182
export const ApplicationLayoutTooltip = Tooltip.bind({});
183+
ApplicationLayoutTooltip.parameters = {
184+
viewport: {
185+
defaultViewport: "pixel",
186+
},
187+
chromatic: { viewports: [540] },
188+
};
183189
ApplicationLayoutTooltip.play = async ({ canvasElement }) => {
184190
const canvas = within(canvasElement);
185191
const toggleVisibility = await canvas.findByRole("button");

0 commit comments

Comments
 (0)