fix inputs
This commit is contained in:
1 parent
b4ba9efd45
commit
59f60d2184
1 file changed
+9
@@ -6,6 +6,14 @@ import PropTypes from "prop-types";
|
|||||||
const getSx = (theme, type, maxWidth) => {
|
const getSx = (theme, type, maxWidth) => {
|
||||||
const sx = {
|
const sx = {
|
||||||
maxWidth: maxWidth,
|
maxWidth: maxWidth,
|
||||||
|
"& .MuiOutlinedInput-root ": {
|
||||||
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
||||||
|
borderColor: theme.palette.primary.contrastText, // Adjust hover border color
|
||||||
|
},
|
||||||
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
||||||
|
borderColor: theme.palette.accent.main, // Adjust focus border color
|
||||||
|
},
|
||||||
|
},
|
||||||
"& .MuiFormHelperText-root": {
|
"& .MuiFormHelperText-root": {
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
bottom: `-${theme.spacing(24)}`,
|
bottom: `-${theme.spacing(24)}`,
|
||||||
@@ -129,6 +137,7 @@ const TextInput = forwardRef(
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
color="secondary"
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user