From 7dfd86873ca9001fabe2f751cace344f0d7b4b17 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 16 Nov 2024 18:45:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8(frontend)=20update=20A=20component?= =?UTF-8?q?=20hover=20animation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/frontend/src/primitives/A.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/primitives/A.tsx b/src/frontend/src/primitives/A.tsx index 5e223780..54815f3b 100644 --- a/src/frontend/src/primitives/A.tsx +++ b/src/frontend/src/primitives/A.tsx @@ -9,7 +9,7 @@ const link = cva({ borderRadius: 2, transition: 'all 0.2s', '&[data-hovered]': { - textDecoration: 'none', + textDecorationThickness: '2px', }, '&[data-pressed]': { textDecoration: 'underline',