21720: changed theme.sspacing.unit Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados.git] / services / workbench2 / src / views / site-manager-panel / site-manager-panel-root.tsx
index 246bc8758c2ecca904145d1165621db9a18bc404..22a68424ce6c89ea15113a409654451d401c56bb 100644 (file)
@@ -49,7 +49,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
         textAlign: 'right'
     },
     table: {
-        marginTop: theme.spacing.unit
+        marginTop: theme.spacing
     },
     tableRow: {
         '& td, th': {
@@ -64,10 +64,10 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     },
     buttonAdd: {
         marginLeft: 10,
-        marginTop: theme.spacing.unit * 3
+        marginTop: theme.spacing(3)
     },
     buttonLoggedIn: {
-        minHeight: theme.spacing.unit,
+        minHeight: theme.spacing,
         padding: 5,
         color: '#fff',
         backgroundColor: '#009966',
@@ -76,7 +76,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
         }
     },
     buttonLoggedOut: {
-        minHeight: theme.spacing.unit,
+        minHeight: theme.spacing,
         padding: 5,
         color: '#000',
         backgroundColor: '#FFC414',