diff --git a/src/components/SuperDrawer/SuperDrawer.stories.tsx b/src/components/SuperDrawer/SuperDrawer.stories.tsx index dcd4852dc..988a1614a 100644 --- a/src/components/SuperDrawer/SuperDrawer.stories.tsx +++ b/src/components/SuperDrawer/SuperDrawer.stories.tsx @@ -1,13 +1,13 @@ import { Meta } from "@storybook/react"; import { useEffect } from "react"; import { Button, Css, GridColumn, GridRowStyles, GridTable, SimpleHeaderAndDataOf } from "src"; -import { withSuperDrawer } from "src/utils/sb"; +import { withDimensions, withSuperDrawer } from "src/utils/sb"; import { SuperDrawer as SuperDrawerComponent, SuperDrawerContent, useSuperDrawer } from "./index"; export default { title: "Components / Super Drawer", component: SuperDrawerComponent, - decorators: [withSuperDrawer], + decorators: [withSuperDrawer, withDimensions("100vw", "100vh")], parameters: { chromatic: { delay: 1000 } }, } as Meta; @@ -25,7 +25,7 @@ export function Open() { return ( <> -

SuperDrawer Open

+

SuperDrawer Open