Skip to content

Commit

Permalink
DropZone: Make the drop zone in Storybook the same size as the item (#…
Browse files Browse the repository at this point in the history
…68231)

* DropZone: Make the drop zone in Storybook the same size as the item

* Update changelog

* Remove changelog entry

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: tyxla <[email protected]>
  • Loading branch information
3 people authored Dec 23, 2024
1 parent 27bb038 commit d678c3a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/components/src/drop-zone/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ export default meta;

const Template: StoryFn< typeof DropZone > = ( props ) => {
return (
<div style={ { background: 'lightgray', padding: 16 } }>
<div
style={ {
background: 'lightgray',
padding: 32,
position: 'relative',
} }
>
Drop something here
<DropZone { ...props } />
</div>
Expand Down

1 comment on commit d678c3a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in d678c3a.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12467651267
📝 Reported issues:

Please sign in to comment.