summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-11-06 00:16:19 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-11-06 00:16:19 +0900
commita821ce874b7e7cd989b3e4e30e1d33bad1163a3f (patch)
treea71d1351962b0126f633171311c17d8b7175651b
parenta39baaf6906ee6bb7709efd7068fc841f465edfa (diff)
Use tw for carousel slide width and height
-rw-r--r--src/App.js4
1 files 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}>
<div className={classes.controls}>