Browse Source

Mark cursor-not-allowed as important so that cursor-pointer gets overridden

pull/762/head
Astrid 2 years ago
parent
commit
dec967418b
  1. 2
      src/components/buttons/Button.tsx

2
src/components/buttons/Button.tsx

@ -41,7 +41,7 @@ export function Button(props: Props) { @@ -41,7 +41,7 @@ export function Button(props: Props) {
props.padding ?? "px-4 py-3",
props.className,
colorClasses,
props.disabled ? "cursor-not-allowed bg-opacity-60 text-opacity-60" : null,
props.disabled ? "!cursor-not-allowed bg-opacity-60 text-opacity-60" : null,
);
if (props.disabled)

Loading…
Cancel
Save