Skip to content

Commit

Permalink
style: make hiding profile tabs slower
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Nov 11, 2024
1 parent 8e4eacb commit 39d4fc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}}
Expand Down

0 comments on commit 39d4fc7

Please sign in to comment.