21720: changed theme.sspacing.unit Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados.git] / services / workbench2 / src / views-components / groups-dialog / attributes-dialog.tsx
index 6f3490d04c67db22d645ef08225ec50b6bd07465..6ee8b1b29330f2740b23369720fbe4a6960fefd0 100644 (file)
@@ -17,15 +17,15 @@ type CssRules = 'rightContainer' | 'leftContainer' | 'spacing';
 const styles = withStyles<CssRules>((theme: ArvadosTheme) => ({
     rightContainer: {
         textAlign: 'right',
-        paddingRight: theme.spacing.unit * 2,
+        paddingRight: theme.spacing(2),
         color: theme.palette.grey["500"]
     },
     leftContainer: {
         textAlign: 'left',
-        paddingLeft: theme.spacing.unit * 2
+        paddingLeft: theme.spacing(2)
     },
     spacing: {
-        paddingTop: theme.spacing.unit * 2
+        paddingTop: theme.spacing(2)
     },
 }));