I've been working on customizing my theme file with overrides, and I've encountered a strange bug while trying to style the outlined input. It seems like there are two borders appearing when these styles are implemented.
https://i.stack.imgur.com/Gmabx.png
https://i.stack.imgur.com/NGpyB.png
Here's the section of MUI outlined input overrides:
MuiOutlinedInput: {
styleOverrides: {
root: {
borderRadius: "4px",
border: "1px solid green ",
"&:hover": { borderRadius: "4px", border: "1px solid red" },
"&:disabled": { borderRadius: "4px", border: "1px solid black" },
"&.Mui-focused": { borderRadius: "4px", border: "2px solid blue" },
},
},
},
If anyone has any tips or suggestions on how to resolve this issue, I would greatly appreciate it!