I've been struggling to eliminate the padding from a textbox, but I'm facing an issue with Material UI.
Even after setting padding to 0 for all classes, the padding persists.
Could someone provide guidance on how to successfully remove this padding?
.MuiOutlinedInput-input-1708 {
padding: 18.5px 14px;
}
Below is my code snippet and a link to the sandbox:
https://codesandbox.io/s/m58841kkwp
cssLabel: {
"&$cssFocused": {
color: { borderColor: "red", padding: 0 }
}
},
cssFocused: { borderColor: "red", padding: 0 },
cssUnderline: {
"&:after": {
borderBottomColor: "red",
padding: 0
}
},
cssOutlinedInput: {
"& $notchedOutline": {
borderColor: "red",
padding: 0
},
"&$cssFocused $notchedOutline": {
borderColor: "green",
padding: 0
}
},
notchedOutline: { borderColor: "red", padding: 0 },