Skip to content

Commit

Permalink
fix(Dialog): stress test story to go fullscreen on narrow screens (#5628
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hectahertz authored Feb 7, 2025
1 parent 6e7da1e commit 621c878
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-berries-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Update the Dialog stress test story to go fullscreen on narrow screens
1 change: 1 addition & 0 deletions packages/react/src/Dialog/Dialog.features.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const StressTest = ({width, height, subtitle}: DialogStoryProps) => {
{buttonType: 'danger', content: 'Delete the universe', onClick: onDialogClose},
{buttonType: 'primary', content: 'Proceed', onClick: openSecondDialog},
]}
position={{narrow: 'fullscreen', regular: 'center'}}
>
{lipsum}
{secondOpen && (
Expand Down

0 comments on commit 621c878

Please sign in to comment.