mirror of https://github.com/linkerd/linkerd2.git
Fix spacing unit to new MUI v4 format (#3841)
Replaces theme.spacing.unit in the TapQueryForm component, which is deprecated, with theme.spacing(1), as part of the upgrade to Material-UI v4. Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
This commit is contained in:
parent
f55b2f4e38
commit
609618424d
|
@ -59,7 +59,7 @@ const styles = theme => ({
|
|||
minWidth: 200,
|
||||
},
|
||||
formControl: {
|
||||
padding: theme.spacing.unit,
|
||||
padding: theme.spacing(1),
|
||||
paddingLeft: 0,
|
||||
margin: 0,
|
||||
minWidth: 'inherit',
|
||||
|
@ -90,7 +90,7 @@ const styles = theme => ({
|
|||
transform: 'rotate(180deg)',
|
||||
},
|
||||
resetButton: {
|
||||
marginLeft: theme.spacing.unit,
|
||||
marginLeft: theme.spacing(1),
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue