mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Remove disabled cursor styles
This commit is contained in:
@@ -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>(
|
||||||
|
|||||||
Reference in New Issue
Block a user