Remove disabled cursor styles

This commit is contained in:
jeffvli
2022-11-05 03:25:59 -07:00
parent 608518ac1c
commit 385ec5f856
+16
View File
@@ -70,6 +70,10 @@ const StyledTextInput = styled(MantineTextInput)<TextInputProps>`
& .mantine-TextInput-label { & .mantine-TextInput-label {
font-family: var(--label-font-faimly); font-family: var(--label-font-faimly);
} }
& .mantine-TextInput-disabled {
cursor: default;
}
`; `;
const StyledNumberInput = styled(MantineNumberInput)<NumberInputProps>` const StyledNumberInput = styled(MantineNumberInput)<NumberInputProps>`
@@ -107,6 +111,10 @@ const StyledNumberInput = styled(MantineNumberInput)<NumberInputProps>`
& .mantine-NumberInput-label { & .mantine-NumberInput-label {
font-family: var(--label-font-faimly); font-family: var(--label-font-faimly);
} }
& .mantine-NumberInput-disabled {
cursor: default;
}
`; `;
const StyledPasswordInput = styled(MantinePasswordInput)<PasswordInputProps>` const StyledPasswordInput = styled(MantinePasswordInput)<PasswordInputProps>`
@@ -124,6 +132,10 @@ const StyledPasswordInput = styled(MantinePasswordInput)<PasswordInputProps>`
& .mantine-PasswordInput-label { & .mantine-PasswordInput-label {
font-family: var(--label-font-faimly); font-family: var(--label-font-faimly);
} }
& .mantine-PasswordInput-disabled {
cursor: default;
}
`; `;
const StyledFileInput = styled(MantineFileInput)<FileInputProps>` const StyledFileInput = styled(MantineFileInput)<FileInputProps>`
@@ -141,6 +153,10 @@ const StyledFileInput = styled(MantineFileInput)<FileInputProps>`
& .mantine-FileInput-label { & .mantine-FileInput-label {
font-family: var(--label-font-faimly); font-family: var(--label-font-faimly);
} }
& .mantine-PasswordInput-disabled {
cursor: default;
}
`; `;
export const TextInput = forwardRef<HTMLInputElement, TextInputProps>( export const TextInput = forwardRef<HTMLInputElement, TextInputProps>(