Skip to content

Commit 61db0d7

Browse files
authored
Revert "feat(Tabs): add image variative height for media (#612)" (#643)
This reverts commit adf214d.
1 parent c9705c0 commit 61db0d7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/blocks/Tabs/Tabs.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ export const TabsBlock = ({
9090
key={activeTab}
9191
className={b('media')}
9292
playVideo={play}
93-
height={activeTabData.media?.video && mediaHeight}
94-
imageClassName={b('image')}
93+
height={mediaHeight}
9594
/>
9695
)}
9796
</div>

src/blocks/Tabs/__stories__/data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"start": 0
4343
}
4444
},
45-
"previewImage": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_white.png"
45+
"image": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_white.png"
4646
},
4747
"dark": {
4848
"video": {
@@ -55,7 +55,7 @@
5555
"start": 0
5656
}
5757
},
58-
"previewImage": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_dark.png"
58+
"image": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img_8-12_dark.png"
5959
}
6060
},
6161
"caption": "Dolor sit amet",

0 commit comments

Comments
 (0)