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 Jun 23, 2021
1 parent eec699f commit 67fa96e
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 @@ -9,9 +9,14 @@ const theme = createMuiTheme({
overrides: {
MuiFormControl: {
root: {
margin: '0.8em 0',
margin: '0.3em 0',
},
},
MuiFormHelperText: {
root: {
minHeight: '1.6em'
}
}
},
});

Expand Down

0 comments on commit 67fa96e

Please sign in to comment.