From eacd87854538db514ab90589fc48cb8f5b6d3cf5 Mon Sep 17 00:00:00 2001
From: Maciej Krawczyk <63869461+wzarek@users.noreply.github.com>
Date: Sun, 23 Jun 2024 19:48:37 +0200
Subject: [PATCH] feat: fixed overflow issues
---
.../src/components/web/main/HeroSection.tsx | 22 ++++++++++---------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/Client/reasn-client/packages/ui/src/components/web/main/HeroSection.tsx b/Client/reasn-client/packages/ui/src/components/web/main/HeroSection.tsx
index 44e86f9..76ac338 100644
--- a/Client/reasn-client/packages/ui/src/components/web/main/HeroSection.tsx
+++ b/Client/reasn-client/packages/ui/src/components/web/main/HeroSection.tsx
@@ -19,26 +19,28 @@ export const HeroSection = () => {
to jest teraz
na topie
-
+
-
- {cards.map((card, idx) => (
-
- ))}
+
+
+ {cards.map((card, idx) => (
+
+ ))}
+
{currentCardIdx > 0 && (
setCurrentCardIdx(currentCardIdx - 1)}
- className="absolute left-5 top-[50%] z-20 h-8 w-8 -translate-y-1/2 cursor-pointer rounded-lg bg-gradient-to-r from-[#32346A7d] to-[#4E4F757d] fill-white p-2"
+ className="absolute left-[-3rem] top-[50%] z-20 h-8 w-8 -translate-y-1/2 cursor-pointer rounded-lg bg-gradient-to-r from-[#32346A7d] to-[#4E4F757d] fill-white p-2"
/>
)}
{currentCardIdx < cards.length - 1 && (
setCurrentCardIdx((idx) => idx + 1)}
- className="absolute right-5 top-[50%] z-20 h-8 w-8 -translate-y-1/2 cursor-pointer rounded-lg bg-gradient-to-r from-[#32346A7d] to-[#4E4F757d] fill-white p-2"
+ className="absolute right-[-3rem] top-[50%] z-20 h-8 w-8 -translate-y-1/2 cursor-pointer rounded-lg bg-gradient-to-r from-[#32346A7d] to-[#4E4F757d] fill-white p-2"
/>
)}