From d1474bce3520e6e8aac279572c71eb511c04d9b7 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 7 Feb 2025 19:41:06 +0300 Subject: [PATCH] Small imp --- enshi/src/Pages/RandomPostsPage/PostCard/PostCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enshi/src/Pages/RandomPostsPage/PostCard/PostCard.tsx b/enshi/src/Pages/RandomPostsPage/PostCard/PostCard.tsx index 959d9cf..77ca428 100644 --- a/enshi/src/Pages/RandomPostsPage/PostCard/PostCard.tsx +++ b/enshi/src/Pages/RandomPostsPage/PostCard/PostCard.tsx @@ -69,7 +69,7 @@ export default function PostCard(props: Post) { style={{ minWidth: `${Math.min(windowWidth, ref.current?.clientWidth || 0) / 2}px`, transform: `${ - isHovered ? "translateX(0)" : `translateX(calc(-60% + ${Math.min(windowWidth, ref.current?.clientWidth || 0) / 6}px))` + isHovered ? "translateX(0)" : `translateX(calc(-50% + ${Math.min(windowWidth, ref.current?.clientWidth || 0) / 6}px))` }` }} className={`h-72 transition-all duration-[250ms]`}