filled input label: remove optical spacing for horizontal

This commit is contained in:
Sidney Alcantara
2021-11-12 17:02:59 +11:00
parent 712cb4972f
commit 8f8a5d5c2f

View File

@@ -251,7 +251,11 @@ export const components = (theme: Theme): ThemeOptions => {
"&.labelHorizontal": {
flexDirection: "row",
alignItems: "center",
"& .MuiInputLabel-root": { paddingRight: theme.spacing(1) },
"& .MuiInputLabel-root": {
padding: 0,
paddingRight: theme.spacing(1),
},
},
},
},