diff options
| -rw-r--r-- | src/core/components/layouts/AnimationLayout.jsx | 4 | ||||
| -rw-r--r-- | src/lib/brand/components/Brand.jsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/components/layouts/AnimationLayout.jsx b/src/core/components/layouts/AnimationLayout.jsx index cdd2d059..12b6d112 100644 --- a/src/core/components/layouts/AnimationLayout.jsx +++ b/src/core/components/layouts/AnimationLayout.jsx @@ -8,9 +8,9 @@ const AnimationLayout = ({ children, ...props }) => { return children && ( <motion.main - initial={{ opacity: 0, x: 0, y: 0 }} + initial={{ opacity: 0, x: 15, y: 0 }} animate={{ opacity: 1, x: 0, y: 0 }} - exit={{ opacity: 0, x: 15, y: 0 }} + exit={{ opacity: 0, x: 0, y: 0 }} transition={transition} {...props} > diff --git a/src/lib/brand/components/Brand.jsx b/src/lib/brand/components/Brand.jsx index a42f4c81..c1215976 100644 --- a/src/lib/brand/components/Brand.jsx +++ b/src/lib/brand/components/Brand.jsx @@ -23,7 +23,7 @@ const Brand = ({ id }) => { return ( <> - <div className="min-h-[200px]"> + <div className="min-h-[150px]"> { brand.isLoading && <ImageSkeleton /> } { brand.data && ( <> @@ -44,7 +44,7 @@ const Brand = ({ id }) => { </SwiperSlide> )) } </Swiper> - <div className="p-4 pt-2"> + <div className="p-4"> <div className="text-caption-1 text-gray_r-11 mb-2">Produk dari brand:</div> { brand?.data?.logo && ( <Image |
