X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0c37a7e69b11fb23a4ffa2902a1343b3cd6769bc..edb0ce16ee7ccef6cec38c9787ba0dadde5da697:/src/views/workflow-panel/registered-workflow-panel.tsx diff --git a/src/views/workflow-panel/registered-workflow-panel.tsx b/src/views/workflow-panel/registered-workflow-panel.tsx index 4b658452..5973efed 100644 --- a/src/views/workflow-panel/registered-workflow-panel.tsx +++ b/src/views/workflow-panel/registered-workflow-panel.tsx @@ -7,19 +7,18 @@ import { StyleRulesCallback, WithStyles, withStyles, - Grid, Tooltip, Typography, Card, CardHeader, + CardContent, IconButton, } from '@material-ui/core'; -import { Dispatch } from "redux"; import { connect, DispatchProp } from "react-redux"; import { RouteComponentProps } from 'react-router'; import { ArvadosTheme } from 'common/custom-theme'; import { RootState } from 'store/store'; -import { WorkflowIcon, MoreOptionsIcon } from 'components/icon/icon'; +import { WorkflowIcon, MoreVerticalIcon } from 'components/icon/icon'; import { WorkflowResource } from 'models/workflow'; import { ProcessOutputCollectionFiles } from 'views/process-panel/process-output-collection-files'; import { WorkflowDetailsAttributes, RegisteredWorkflowPanelDataProps, getRegisteredWorkflowPanelData } from 'views-components/details-panel/workflow-details'; @@ -44,7 +43,8 @@ type CssRules = 'root' | 'readOnlyIcon' | 'header' | 'title' - | 'avatar'; + | 'avatar' + | 'content'; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ root: { @@ -54,9 +54,6 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ cursor: 'pointer' }, infoCard: { - paddingLeft: theme.spacing.unit * 2, - paddingRight: theme.spacing.unit * 2, - paddingBottom: theme.spacing.unit * 2, }, propertiesCard: { padding: 0, @@ -113,6 +110,13 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ alignSelf: 'flex-start', paddingTop: theme.spacing.unit * 0.5 }, + content: { + padding: theme.spacing.unit * 1.0, + paddingTop: theme.spacing.unit * 0.5, + '&:last-child': { + paddingBottom: theme.spacing.unit * 1, + } + } }); type RegisteredWorkflowPanelProps = RegisteredWorkflowPanelDataProps & DispatchProp & WithStyles @@ -163,17 +167,15 @@ export const RegisteredWorkflowPanel = withStyles(styles)(connect( this.handleContextMenu(event)}> - + } /> - - - - - + + +