Fixed paddings in mobile version of about slider
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user