diff --git a/apps/web/app/(org)/dashboard/caps/components/CapCard/CapCard.tsx b/apps/web/app/(org)/dashboard/caps/components/CapCard/CapCard.tsx index 3a9bd9698..8969b420f 100644 --- a/apps/web/app/(org)/dashboard/caps/components/CapCard/CapCard.tsx +++ b/apps/web/app/(org)/dashboard/caps/components/CapCard/CapCard.tsx @@ -288,11 +288,11 @@ export const CapCard = ({ onDragStart={handleDragStart} onDragEnd={handleDragEnd} className={clsx( - "flex relative transition-colors duration-200 flex-col gap-4 w-full h-full rounded-xl cursor-default bg-gray-1 border border-gray-3 group border-px", + "flex relative overflow-hidden transition-colors duration-200 flex-col gap-4 w-full h-full rounded-xl cursor-default bg-gray-1 border border-gray-3 group", isSelected - ? "!border-blue-10 border-px" + ? "!border-blue-10" : anyCapSelected - ? "border-blue-10 border-px hover:border-blue-10" + ? "border-blue-10 hover:border-blue-10" : "hover:border-blue-10", isDragging && "opacity-50", isOwner && !anyCapSelected && "cursor-grab active:cursor-grabbing", diff --git a/apps/web/app/(org)/dashboard/caps/components/SelectedCapsBar.tsx b/apps/web/app/(org)/dashboard/caps/components/SelectedCapsBar.tsx index 79fdce4ed..8f82e8c6d 100644 --- a/apps/web/app/(org)/dashboard/caps/components/SelectedCapsBar.tsx +++ b/apps/web/app/(org)/dashboard/caps/components/SelectedCapsBar.tsx @@ -44,9 +44,9 @@ export const SelectedCapsBar = ({ transition: { duration: 0.2 }, }} transition={{ - opacity: { duration: 0.3, ease: "easeOut" }, - y: { type: "spring", damping: 15, stiffness: 200 }, - scale: { type: "spring", damping: 15, stiffness: 200 }, + opacity: { duration: 0.2, ease: "easeOut" }, + y: { type: "spring", damping: 15, stiffness: 300 }, + scale: { type: "spring", damping: 15, stiffness: 300 }, }} >