21720: changed theme.sspacing.unit Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados.git] / services / workbench2 / src / views-components / search-bar / search-bar-save-queries.tsx
index 1b765b94423907f4e26d7ba8c0cc93bc8d1afc4c..02c774f1a32057e0117abcb92d5551313fb6d0ef 100644 (file)
@@ -17,8 +17,8 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
         padding: '0px'
     },
     listItem: {
-        paddingLeft: theme.spacing.unit,
-        paddingRight: theme.spacing.unit * 2
+        paddingLeft: theme.spacing,
+        paddingRight: theme.spacing(2)
     },
     listItemText: {
         fontSize: '0.8125rem',
@@ -26,7 +26,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     },
     button: {
         padding: '6px',
-        marginRight: theme.spacing.unit
+        marginRight: theme.spacing
     }
 });