From a821ce874b7e7cd989b3e4e30e1d33bad1163a3f Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Fri, 6 Nov 2020 00:16:19 +0900 Subject: Use tw for carousel slide width and height --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 170bf18..f5637e4 100644 --- a/src/App.js +++ b/src/App.js @@ -191,8 +191,8 @@ function StoreCarousel(props) { isPlaying lockOnWindowScroll isIntrinsicHeight - naturalSlideWidth={240} - naturalSlideHeight={240} + naturalSlideWidth={tw} + naturalSlideHeight={tw} visibleSlides={cols} totalSlides={props.data.length + skeletons.length}>
-- cgit v1.2.3