Skip to content

Commit a4afff1

Browse files
authored
Storybook missing styles in aspect ratio example (#660)
1 parent f638e36 commit a4afff1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/ui/AspectRatio/stories/AspectRatio.stories.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default {
88
render: (args) => <SandboxEditor>
99
<AspectRatio {...args} >
1010
<img
11+
style={{ width: '100%', height: '100%', objectFit: 'cover' }}
1112
className="Image"
1213
src="https://images.pexels.com/photos/346529/pexels-photo-346529.jpeg?cs=srgb&dl=pexels-bri-schneiter-28802-346529.jpg&fm=jpg"
1314
alt="Landscape photograph"

0 commit comments

Comments
 (0)