fix auto complete

This commit is contained in:
2019-01-29 14:50:25 +07:00
parent df87d00305
commit 327e01ef9e
2 changed files with 26 additions and 10 deletions

View File

@@ -43,16 +43,18 @@ const styles = theme => ({
padding: `${theme.spacing.unit}px ${theme.spacing.unit * 2}px`,
},
singleValue: {
position: 'absolute',
left: 12,
fontSize: 16,
},
placeholder: {
position: 'absolute',
left: 2,
left: 12,
fontSize: 16,
},
paper: {
position: 'absolute',
zIndex: 1,
zIndex: 999,
marginTop: theme.spacing.unit,
left: 0,
right: 0,
@@ -84,7 +86,7 @@ function Control(props) {
margin="normal"
variant="outlined"
fullWidth
style={{padding: 5}}
// style={{padding: 5}}
InputProps={{
inputComponent,
inputProps: {