21720: changed theme.sspacing.unit Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados.git] / services / workbench2 / src / views / user-panel / user-panel.tsx
index 950262d8c6693936b83c7dff60c6df86ba41e516..11993da09a79442e1aff18b8063b9ca93bd7125c 100644 (file)
@@ -31,8 +31,8 @@ type UserPanelRules = "button" | 'root';
 
 const styles = withStyles<UserPanelRules>(theme => ({
     button: {
-        marginTop: theme.spacing.unit,
-        marginRight: theme.spacing.unit * 2,
+        marginTop: theme.spacing,
+        marginRight: theme.spacing(2),
         textAlign: 'right',
         alignSelf: 'center'
     },