💄(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:
committed by
aleb_the_flash
parent
6373593de3
commit
861244ce01
@@ -8,6 +8,9 @@ export const buttonRecipe = cva({
|
|||||||
transition: 'background 200ms, outline 200ms, border-color 200ms',
|
transition: 'background 200ms, outline 200ms, border-color 200ms',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
border: '1px solid transparent',
|
border: '1px solid transparent',
|
||||||
|
'&[data-disabled]': {
|
||||||
|
cursor: 'default',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
variants: {
|
variants: {
|
||||||
size: {
|
size: {
|
||||||
|
|||||||
Reference in New Issue
Block a user