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(