use full-width right switches

This commit is contained in:
nikk gitanes
2021-07-16 09:46:34 +03:00
parent 0edbcb302c
commit 06a4175f1c
3 changed files with 20 additions and 11 deletions

View File

@@ -58,11 +58,20 @@ export const useMaterialUITheme = () => {
color: mainColors[theme].labels,
},
},
// https://material-ui.com/ru/api/form-control-label/
MuiFormControlLabel: {
labelPlacementStart: {
display: 'flex',
justifyContent: 'space-between',
marginStart: 0,
marginTop: 6,
marginBottom: 2,
},
},
MuiInputLabel: {
root: {
color: mainColors[theme].labels,
// fontSize: '22px',
marginBottom: '10px',
marginBottom: 8,
'&$focused': {
color: mainColors[theme].labels,
},