From 39d4fc798e13c9d75c15ed6913b7c8164193a9a7 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 11 Nov 2024 11:41:08 +0330 Subject: [PATCH] style: make hiding profile tabs slower --- .../fullscreen/homeFullScreen/partials/ProfileTabFullScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/extension-polkagate/src/fullscreen/homeFullScreen/partials/ProfileTabFullScreen.tsx b/packages/extension-polkagate/src/fullscreen/homeFullScreen/partials/ProfileTabFullScreen.tsx index 95cf1c686..e318055cc 100644 --- a/packages/extension-polkagate/src/fullscreen/homeFullScreen/partials/ProfileTabFullScreen.tsx +++ b/packages/extension-polkagate/src/fullscreen/homeFullScreen/partials/ProfileTabFullScreen.tsx @@ -113,7 +113,7 @@ export default function ProfileTabFullScreen ({ index, isHovered, orderedAccount position: 'relative', transform: hideCard ? `translateY(-${HIDDEN_PERCENT})` : undefined, transformOrigin: 'top', - transition: 'transform 0.2s, box-shadow 0.2s', + transition: hideCard ? 'transform 1s, box-shadow 1s, opacity 1s' : 'transform 0.2s, box-shadow 0.2s', userSelect: 'none', width: 'fit-content' }}