From 385ec5f8568fddde20b1c14ce0686154e8501803 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 5 Nov 2022 03:25:59 -0700 Subject: [PATCH] Remove disabled cursor styles --- src/renderer/components/input/index.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/renderer/components/input/index.tsx b/src/renderer/components/input/index.tsx index 5a52f8c9d..dd873927b 100644 --- a/src/renderer/components/input/index.tsx +++ b/src/renderer/components/input/index.tsx @@ -70,6 +70,10 @@ const StyledTextInput = styled(MantineTextInput)` & .mantine-TextInput-label { font-family: var(--label-font-faimly); } + + & .mantine-TextInput-disabled { + cursor: default; + } `; const StyledNumberInput = styled(MantineNumberInput)` @@ -107,6 +111,10 @@ const StyledNumberInput = styled(MantineNumberInput)` & .mantine-NumberInput-label { font-family: var(--label-font-faimly); } + + & .mantine-NumberInput-disabled { + cursor: default; + } `; const StyledPasswordInput = styled(MantinePasswordInput)` @@ -124,6 +132,10 @@ const StyledPasswordInput = styled(MantinePasswordInput)` & .mantine-PasswordInput-label { font-family: var(--label-font-faimly); } + + & .mantine-PasswordInput-disabled { + cursor: default; + } `; const StyledFileInput = styled(MantineFileInput)` @@ -141,6 +153,10 @@ const StyledFileInput = styled(MantineFileInput)` & .mantine-FileInput-label { font-family: var(--label-font-faimly); } + + & .mantine-PasswordInput-disabled { + cursor: default; + } `; export const TextInput = forwardRef(