Skip to content

Commit 002a466

Browse files
committed
tiny design tweaks
1 parent 7fee8ed commit 002a466

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/modules/components/MarkdownElement.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -395,12 +395,13 @@ const Root = styled('div')(
395395
height: '1em',
396396
color: 'inherit',
397397
backgroundColor: 'currentColor',
398-
transition: 'transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)', // bounce effect
398+
transform: 'translate(0, 2px)',
399+
transition: 'transform 0.3s cubic-bezier(0.1, 0.8, 0.3, 1)', // bounce effect
399400
opacity: 0.8,
400401
},
401402
'& a[target="_blank"]:hover::after': {
402403
opacity: 1,
403-
transform: 'translate(1px, -1px)',
404+
transform: 'translate(1px, 0)',
404405
},
405406
'& a, & a code': {
406407
// Style taken from the Link component

0 commit comments

Comments
 (0)