Fixed paddings in mobile version of about slider

This commit is contained in:
2026-01-26 13:10:06 +05:00
parent ee42b3a3ed
commit 58e8919a12
+1 -1
View File
@@ -72,7 +72,7 @@ export default function AboutSlider({ items, className }: AboutSliderProps) {
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{ duration: 0.25 }}
className="absolute 2xl:top-[1.667vw] 2xl:left-[1.667vw] md:top-[3.125vw] md:left-[3.125vw] top-[4.444vw] left-[4.444vw] z-[3]"
className="absolute 2xl:top-[1.667vw] 2xl:left-[1.667vw] md:top-[3.125vw] md:left-[3.125vw] top-[6.667vw] left-[6.667vw] z-[3]"
>
<h2 className="text-h3 max-md:text-h5 text-white font-medium 2xl:mb-[1.111vw] md:mb-[2.083vw] mb-[4.444vw]">
{items[currentSlide] && items[currentSlide].title}