From f816b27efdced9ba34d44680e32930a0ec3494c4 Mon Sep 17 00:00:00 2001 From: Florian Gareis Date: Tue, 11 May 2021 17:49:25 +0200 Subject: [PATCH] Fix jumping form by setting min-height to error element --- src/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 42b71e4..d712a74 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -10,10 +10,15 @@ const theme = createTheme({ MuiFormControl: { styleOverrides: { root: { - margin: '0.8em 0', + margin: '0.3em 0', }, } }, + MuiFormHelperText: { + root: { + minHeight: '1.6em' + } + } }, });