From 4f3f9537a3965c36921f047c125ba4bab87a91ec Mon Sep 17 00:00:00 2001 From: Zac Date: Wed, 13 Dec 2023 12:34:28 +0800 Subject: [PATCH] Fixed carousel not being responsive in small screen issue --- components/landing/thanks.tsx | 4 ++-- components/ui/component-carousel.tsx | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/landing/thanks.tsx b/components/landing/thanks.tsx index 70fc5b7..cc2c615 100644 --- a/components/landing/thanks.tsx +++ b/components/landing/thanks.tsx @@ -72,7 +72,7 @@ const ThanksPage = async () => { return (
-
+
Our noble contributors @@ -133,7 +133,7 @@ const ThanksPage = async () => {
-
+
Tech that made this possible! ({techs.size}) diff --git a/components/ui/component-carousel.tsx b/components/ui/component-carousel.tsx index 354ee32..a280eab 100644 --- a/components/ui/component-carousel.tsx +++ b/components/ui/component-carousel.tsx @@ -49,10 +49,12 @@ const ComponentCarousel: React.FC = ({ return (
-

{title}

-
+

+ {title} +

+
{leftArrow()}
-
+
{nodes[page]}
{pageNumber()}