Skip to content

Commit

Permalink
Fix jumping form by setting min-height to error element
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoker committed Apr 7, 2022
1 parent a79fab9 commit f816b27
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ const theme = createTheme({
MuiFormControl: {
styleOverrides: {
root: {
margin: '0.8em 0',
margin: '0.3em 0',
},
}
},
MuiFormHelperText: {
root: {
minHeight: '1.6em'
}
}
},
});

Expand Down

0 comments on commit f816b27

Please sign in to comment.