Skip to content

Commit

Permalink
DropZone: Make the drop zone in Storybook the same size as the item (W…
Browse files Browse the repository at this point in the history
…ordPress#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

0 comments on commit d678c3a

Please sign in to comment.