File size: 477 Bytes
95b5a04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { styled } from '@mui/material/styles';
import FormControl from '@mui/material/FormControl';

const CustomFormControl = styled(FormControl)(() => ({
  marginTop: 8,
  marginBottom: 8,
  '& > label': {
    top: 23,
    left: 0,
    '&[data-shrink="false"]': {
      top: 5
    }
  },
  '& > div > input': {
    padding: '30.5px 14px 11.5px !important'
  },
  '& legend': {
    display: 'none'
  },
  '& fieldset': {
    top: 0
  }
}));

export default CustomFormControl;