From 0560f611657cbedee4014700704d24e961cbc188 Mon Sep 17 00:00:00 2001 From: Gjore Milevski Date: Fri, 22 Nov 2024 09:37:15 +0100 Subject: [PATCH] Add for tablet as well --- overrides/home/carousel/index.tsx | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/overrides/home/carousel/index.tsx b/overrides/home/carousel/index.tsx index 348e50946..ac058f41d 100644 --- a/overrides/home/carousel/index.tsx +++ b/overrides/home/carousel/index.tsx @@ -69,10 +69,8 @@ export function DesktopCarousel () { color: '#fff', background: 'rgba(0, 0, 0, 0.5)', padding: '10px', - borderRadius: '4px', fontSize: '1.2rem', fontWeight: 'bold', - lineHeight: '1.5' }} > {itemInProgress.imageOverlayText1 && ( @@ -111,7 +109,27 @@ function TabletCarousel() { {CarouselItems.map((item) => { return -
+
+ { (item.imageOverlayText1 || item.imageOverlayText2) && ( +
+ {item.imageOverlayText1 && ( + {item.imageOverlayText1} + )} + {item.imageOverlayText2 && ( + {item.imageOverlayText2} + )} +
+ )}

{item.title}