Skip to content

Commit

Permalink
use layout: 'fullscreen'
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 20, 2024
1 parent 2e24a46 commit 1271e93
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions packages/circuit-ui/components/Modal/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@

import { Fragment, useState } from 'react';
import { screen, userEvent, within } from '@storybook/test';
import type { Decorator } from '@storybook/react';

import { modes } from '../../../../.storybook/modes.js';
import { Headline } from '../Headline/index.js';
import { Body } from '../Body/index.js';
import { Button } from '../Button/index.js';
import { FullViewport } from '../../../../.storybook/components/index.js';

import { ModalProvider } from './ModalContext.js';

Expand All @@ -32,21 +30,14 @@ export default {
component: Modal,
tags: ['status:stable'],
parameters: {
layout: 'padded',
layout: 'fullscreen',
chromatic: {
modes: {
mobile: modes.smallMobile,
desktop: modes.desktop,
},
},
},
decorators: [
(Story) => (
<FullViewport>
<Story />
</FullViewport>
),
] as Decorator[],
};

const defaultModalChildren = () => (
Expand Down

0 comments on commit 1271e93

Please sign in to comment.