Skip to content

Commit 67fa96e

Browse files
committed
Fix jumping form by setting min-height to error element
1 parent eec699f commit 67fa96e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/index.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ const theme = createMuiTheme({
99
overrides: {
1010
MuiFormControl: {
1111
root: {
12-
margin: '0.8em 0',
12+
margin: '0.3em 0',
1313
},
1414
},
15+
MuiFormHelperText: {
16+
root: {
17+
minHeight: '1.6em'
18+
}
19+
}
1520
},
1621
});
1722

0 commit comments

Comments
 (0)