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

This commit is contained in:
Astrid 2024-01-09 20:50:45 +01:00
parent dc67ef0c3a
commit dec967418b

View File

@ -41,7 +41,7 @@ export function Button(props: Props) {
props.padding ?? "px-4 py-3", props.padding ?? "px-4 py-3",
props.className, props.className,
colorClasses, 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) if (props.disabled)