I am trying to enhance the appearance of a textfield label, but I am facing some challenges with my code.
textStyle: {
backgroundColor: '#1c1a1a',
border: 0,
borderRadius: 0,
width: 400,
height: 66,
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
marginBottom: 10,
padding: '0 10px',
'& .MuiFormLabel-root': {
color: 'grey',
padding: '1px',
height:'10px',
},
},
I have noticed that setting the height property does not have the desired effect. How can I elevate the label as intended?