21280: removed excess whitespace from subprocess panel Arvados-DCO-1.1-Signed-off...
[arvados-workbench2.git] / src / components / data-explorer / data-explorer.tsx
index 0733da43e2febd9c62a46df4cda1c165df6f71cc..b3a93bbb799c9a64cfcee18602271606fc99e912 100644 (file)
@@ -221,7 +221,7 @@ export const DataExplorer = withStyles(styles)(
                         wrap="nowrap"
                         className={classes.container}
                     >
-                        <div className={classes.titleWrapper} style={currentRoute?.includes('search-results') ? {marginBottom: '-20px'} : {}}>
+                        <div className={classes.titleWrapper} style={currentRoute?.includes('search-results') || !!progressBar ? {marginBottom: '-20px'} : {}}>
                             {title && (
                                 <Grid
                                     item
@@ -303,7 +303,7 @@ export const DataExplorer = withStyles(styles)(
                             item
                             xs="auto"
                             className={classes.dataTable}
-                            style={currentRoute?.includes('search-results') ? {marginTop: '-10px'} : {}}
+                            style={currentRoute?.includes('search-results')  || !!progressBar ? {marginTop: '-10px'} : {}}
                         >
                             <DataTable
                                 columns={this.props.contextMenuColumn ? [...columns, this.contextMenuColumn] : columns}