💄(frontend) update cursor on disabled button

When a button is disabled, it's misleading to show a pointer.
Update it to the default pointer.
This commit is contained in:
lebaudantoine
2025-01-31 17:55:19 +01:00
committed by aleb_the_flash
parent 6373593de3
commit 861244ce01

View File

@@ -8,6 +8,9 @@ export const buttonRecipe = cva({
transition: 'background 200ms, outline 200ms, border-color 200ms',
cursor: 'pointer',
border: '1px solid transparent',
'&[data-disabled]': {
cursor: 'default',
},
},
variants: {
size: {