From f24547605e700cd0796864e40aebc4e64ca03b6d Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Thu, 27 Oct 2022 12:41:00 -0300 Subject: [PATCH] 19631: Fixes toolbar icons alignment on subprocesses panel. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- .../data-explorer/data-explorer.tsx | 36 +++++++++---------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/src/components/data-explorer/data-explorer.tsx b/src/components/data-explorer/data-explorer.tsx index 02532011..c7a296a6 100644 --- a/src/components/data-explorer/data-explorer.tsx +++ b/src/components/data-explorer/data-explorer.tsx @@ -25,11 +25,11 @@ type CssRules = 'searchBox' | 'headerMenu' | "toolbar" | "footer" | "root" | 'mo const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ searchBox: { - paddingBottom: theme.spacing.unit * 2 + paddingBottom: 0, }, toolbar: { - paddingTop: theme.spacing.unit, - paddingRight: theme.spacing.unit * 2, + paddingTop: 0, + paddingRight: theme.spacing.unit, }, footer: { overflow: 'auto' @@ -42,8 +42,8 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ }, title: { display: 'inline-block', - paddingLeft: theme.spacing.unit * 3, - paddingTop: theme.spacing.unit * 3, + paddingLeft: theme.spacing.unit * 2, + paddingTop: theme.spacing.unit * 2, fontSize: '18px' }, dataTable: { @@ -55,7 +55,7 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ }, headerMenu: { float: 'right', - display: 'inline-block' + display: 'inline-block', } }); @@ -169,19 +169,17 @@ export const DataExplorer = withStyles(styles)( (!hideColumnSelector || !hideSearchInput || !!actions) && - - {!hideSearchInput &&
- {!hideSearchInput && } -
} - {actions} - {!hideColumnSelector && } -
+ {!hideSearchInput &&
+ {!hideSearchInput && } +
} + {actions} + {!hideColumnSelector && } { doUnMaximizePanel && panelMaximized && -- 2.30.2