From dc67ef0c3a8867c1555e9d847862ae1703cfdd96 Mon Sep 17 00:00:00 2001 From: Astrid Date: Tue, 9 Jan 2024 20:50:27 +0100 Subject: [PATCH 1/2] remove unused vars --- src/pages/parts/auth/AccountCreatePart.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/parts/auth/AccountCreatePart.tsx b/src/pages/parts/auth/AccountCreatePart.tsx index 674a3be6..6f8b9ad4 100644 --- a/src/pages/parts/auth/AccountCreatePart.tsx +++ b/src/pages/parts/auth/AccountCreatePart.tsx @@ -5,7 +5,6 @@ import { Avatar } from "@/components/Avatar"; import { Button } from "@/components/buttons/Button"; import { ColorPicker, initialColor } from "@/components/form/ColorPicker"; import { IconPicker, initialIcon } from "@/components/form/IconPicker"; -import { Icon, Icons } from "@/components/Icon"; import { LargeCard, LargeCardButtons, From dec967418bcf1b9ba5efb5ca32de623f1ec89852 Mon Sep 17 00:00:00 2001 From: Astrid Date: Tue, 9 Jan 2024 20:50:45 +0100 Subject: [PATCH 2/2] Mark cursor-not-allowed as important so that cursor-pointer gets overridden --- src/components/buttons/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/buttons/Button.tsx b/src/components/buttons/Button.tsx index ed0eebf8..70e2c780 100644 --- a/src/components/buttons/Button.tsx +++ b/src/components/buttons/Button.tsx @@ -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)