Skip to content

Commit

Permalink
Revert "feat(Tabs): add image variative height for media (#612)" (#643)
Browse files Browse the repository at this point in the history
This reverts commit adf214d.
  • Loading branch information
NikitaCG authored Oct 16, 2023
1 parent c9705c0 commit 61db0d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/blocks/Tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ export const TabsBlock = ({
key={activeTab}
className={b('media')}
playVideo={play}
height={activeTabData.media?.video && mediaHeight}
imageClassName={b('image')}
height={mediaHeight}
/>
)}
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/blocks/Tabs/__stories__/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"start": 0
}
},
"previewImage": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_white.png"
"image": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_white.png"
},
"dark": {
"video": {
Expand All @@ -55,7 +55,7 @@
"start": 0
}
},
"previewImage": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_dark.png"
"image": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_dark.png"
}
},
"caption": "Dolor sit amet",
Expand Down

0 comments on commit 61db0d7

Please sign in to comment.