19069: Fix styling
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 18 May 2022 19:32:38 +0000 (15:32 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Wed, 18 May 2022 19:32:38 +0000 (15:32 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

src/views/workflow-panel/workflow-description-card.tsx

index c6c146acd6e8069258194abacb32f1ef0e877b73..b9e89c7631a192801c0c7b6e0bef9e6e770a013a 100644 (file)
@@ -109,7 +109,7 @@ export const WorkflowDetailsCard = withStyles(styles)(
                     messages={['Please select a workflow to see its visualisation.']} />
                     }
                     </CardContent>} */}
-                {value === 2 && <CardContent className={workflow ? classes.graphTabWithChosenWorkflow : classes.graphTab}>
+                {value === 2 && <CardContent className={classes.descriptionTab}>
                     {workflow
                         ? <WorkflowDetailsAttributes workflow={workflow} />
                         : <DataTableDefaultView
@@ -153,9 +153,11 @@ export const WorkflowDetailsCard = withStyles(styles)(
 
 export const WorkflowDetailsAttributes = ({ workflow }: WorkflowDetailsCardDataProps) => {
     return <Grid container>
-        <DetailsAttribute
-            label={"Workflow UUID"}
-            linkToUuid={workflow?.uuid} />
+        <Grid item xs={12} >
+            <DetailsAttribute
+                label={"Workflow UUID"}
+                linkToUuid={workflow?.uuid} />
+        </Grid>
         <Grid item xs={12} >
             <DetailsAttribute
                 label='Owner' linkToUuid={workflow?.ownerUuid}