X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/318fb9f2f730f376bbb4fe7afec567b7ca80aabe..ff8e2c5d55ac3bf5d897c774879f5f544b518553:/src/views/workflow-panel/workflow-description-card.tsx diff --git a/src/views/workflow-panel/workflow-description-card.tsx b/src/views/workflow-panel/workflow-description-card.tsx index b4b9f20a..2294ab5e 100644 --- a/src/views/workflow-panel/workflow-description-card.tsx +++ b/src/views/workflow-panel/workflow-description-card.tsx @@ -22,7 +22,7 @@ import { DataTableDefaultView } from '~/components/data-table-default-view/data- import { WorkflowResource, parseWorkflowDefinition, getWorkflowInputs, getInputLabel, stringifyInputType } from '~/models/workflow'; import { WorkflowGraph } from "~/views/workflow-panel/workflow-graph"; -export type CssRules = 'root' | 'tab' | 'inputTab' | 'descriptionTab' | 'inputsTable'; +export type CssRules = 'root' | 'tab' | 'inputTab' | 'graphTab' | 'graphTabWithChosenWorkflow' | 'descriptionTab' | 'inputsTable'; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ root: { @@ -34,10 +34,15 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ inputTab: { overflow: 'auto', maxHeight: '300px', + marginTop: theme.spacing.unit + }, + graphTab: { + marginTop: theme.spacing.unit, + }, + graphTabWithChosenWorkflow: { + overflow: 'auto', + height: '450px', marginTop: theme.spacing.unit, - '&:last-child': { - paddingBottom: theme.spacing.unit / 2, - } }, descriptionTab: { overflow: 'auto', @@ -91,7 +96,7 @@ export const WorkflowDetailsCard = withStyles(styles)( messages={['Please select a workflow to see its inputs.']} /> } } - {value === 2 && + {value === 2 && {workflow ? :