From ef53439f83e176d3e682e0a3baaed205567ebe22 Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 19 Oct 2025 22:39:23 +0800 Subject: [PATCH] refine: animate drag handle with push effect in edit mode - Remove flex gap-3 from parent container to enable width animation - Add conditional width (w-8/w-0) and margin-right (mr-3/mr-0) to drag handle button - Add overflow-hidden to prevent icon overflow during width transition - Content now smoothly shifts right by 44px when entering edit mode - Maintains 200ms transition-all for smooth push animation This creates a more natural "push-out" effect where the drag handle appears to push the provider content aside, rather than just fading in. --- src/components/providers/ProviderCard.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/providers/ProviderCard.tsx b/src/components/providers/ProviderCard.tsx index afcf9c5..d848f02 100644 --- a/src/components/providers/ProviderCard.tsx +++ b/src/components/providers/ProviderCard.tsx @@ -99,14 +99,14 @@ export function ProviderCard({ )} >
-
+