🚸(frontend) update A component hover animation
I found original to hide text decoration on hover. It felt wrong to me, I proposed a new animation. Please feel free to rework it or enhance it in the future.
This commit is contained in:
committed by
aleb_the_flash
parent
7cee409d22
commit
7dfd86873c
@@ -9,7 +9,7 @@ const link = cva({
|
|||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
transition: 'all 0.2s',
|
transition: 'all 0.2s',
|
||||||
'&[data-hovered]': {
|
'&[data-hovered]': {
|
||||||
textDecoration: 'none',
|
textDecorationThickness: '2px',
|
||||||
},
|
},
|
||||||
'&[data-pressed]': {
|
'&[data-pressed]': {
|
||||||
textDecoration: 'underline',
|
textDecoration: 'underline',
|
||||||
|
|||||||
Reference in New Issue
Block a user