diff options
author | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-06-29 05:59:43 +0000 |
---|---|---|
committer | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-06-29 05:59:43 +0000 |
commit | a6b0e4b8128233e2583dcd32f66657d3461ce41d (patch) | |
tree | 6c813e529bfa54725deaf28bb0da0db5a3753ebc /modern | |
parent | 2df3827308d8d2e3ec16a32bac5f7667bc2618e2 (diff) | |
download | etbsa-traccar-web-a6b0e4b8128233e2583dcd32f66657d3461ce41d.tar.gz etbsa-traccar-web-a6b0e4b8128233e2583dcd32f66657d3461ce41d.tar.bz2 etbsa-traccar-web-a6b0e4b8128233e2583dcd32f66657d3461ce41d.zip |
Pad inputs and buttons
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/theme/overrides.js | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/modern/src/theme/overrides.js b/modern/src/theme/overrides.js index 846859f..bf171ff 100644 --- a/modern/src/theme/overrides.js +++ b/modern/src/theme/overrides.js @@ -3,14 +3,15 @@ import dimensions from './dimensions'; export default { MuiFormControl: { root: { - height: dimensions.inputHeight, + marginTop: 5, + marginBottom: 5 } }, MuiInputLabel: { filled: { transform: 'translate(12px, 14px) scale(1)', '&$shrink' :{ - transform: 'translate(12px, -12px) scale(0.75)' + transform: 'translate(12px, -14px) scale(0.72)' } }, }, @@ -18,7 +19,7 @@ export default { root: { height: dimensions.inputHeight, borderRadius: dimensions.borderRadius, - background: 'rgba(0, 0, 0, 0.035)', + backgroundColor: 'rgba(0, 0, 0, 0.035)', }, input: { height: dimensions.inputHeight, @@ -44,6 +45,8 @@ export default { MuiButton: { root: { height: dimensions.inputHeight, + marginTop: 5, + marginBottom: 5, '&$disabled': { opacity: .4, color: undefined, @@ -56,5 +59,17 @@ export default { backgroundColor: undefined } } + }, + MuiFormHelperText: { + root: { + marginBottom: -10 + } + }, + MuiAutocomplete: { + inputRoot: { + '&.MuiFilledInput-root': { + paddingTop: 0 + } + } } }; |