🚸(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,
|
||||
transition: 'all 0.2s',
|
||||
'&[data-hovered]': {
|
||||
textDecoration: 'none',
|
||||
textDecorationThickness: '2px',
|
||||
},
|
||||
'&[data-pressed]': {
|
||||
textDecoration: 'underline',
|
||||
|
||||
Reference in New Issue
Block a user