mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
style(kanban-card): add transition effects to card wrapper classes for smoother animations
This commit is contained in:
@@ -111,7 +111,7 @@ export const KanbanCard = memo(function KanbanCard({
|
|||||||
const cardStyle = getCardBorderStyle(cardBorderEnabled, cardBorderOpacity);
|
const cardStyle = getCardBorderStyle(cardBorderEnabled, cardBorderOpacity);
|
||||||
|
|
||||||
const wrapperClasses = cn(
|
const wrapperClasses = cn(
|
||||||
'relative select-none outline-none touch-none',
|
'relative select-none outline-none touch-none transition-transform duration-200 ease-out',
|
||||||
getCursorClass(isOverlay, isDraggable),
|
getCursorClass(isOverlay, isDraggable),
|
||||||
isOverlay && isLifted && 'scale-105 rotate-1 z-50'
|
isOverlay && isLifted && 'scale-105 rotate-1 z-50'
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user