Skip to content

Commit f816b27

Browse files
committedApr 7, 2022
Fix jumping form by setting min-height to error element
1 parent a79fab9 commit f816b27

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
@@ -10,10 +10,15 @@ const theme = createTheme({
1010
MuiFormControl: {
1111
styleOverrides: {
1212
root: {
13-
margin: '0.8em 0',
13+
margin: '0.3em 0',
1414
},
1515
}
1616
},
17+
MuiFormHelperText: {
18+
root: {
19+
minHeight: '1.6em'
20+
}
21+
}
1722
},
1823
});
1924

0 commit comments

Comments
 (0)
Failed to load comments.