From b008fa4e46c9ae2516555489dcf0d9cc516d2b95 Mon Sep 17 00:00:00 2001 From: marcosrdz Date: Mon, 25 May 2020 00:15:17 -0400 Subject: [PATCH] ADD: Maximum width for wallet carousel item --- BlueComponents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueComponents.js b/BlueComponents.js index 20f066499..7762507c7 100644 --- a/BlueComponents.js +++ b/BlueComponents.js @@ -1978,7 +1978,7 @@ const WalletCarouselItem = ({ item, index, onPress, handleLongPress }) => { }; const sliderWidth = width * 1; -const itemWidth = width * 0.82; +const itemWidth = width > 375 ? 375 : width * 0.82; const sliderHeight = 190; export class WalletsCarousel extends Component {