[ARVADOS-WORKBENCH2] updated: 1.2.0-200-gde519d0

Git user git at public.curoverse.com
Wed Aug 29 06:10:22 EDT 2018


Summary of changes:
 src/views/process-panel/subprocesses-card.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

       via  de519d0b84931f8ef5fb7d2aecdb67a911c3eabf (commit)
      from  1ca26fd87e061052b071e5039cc68c5a7434a8a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit de519d0b84931f8ef5fb7d2aecdb67a911c3eabf
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date:   Wed Aug 29 12:10:17 2018 +0200

    improve values for subprocesses card
    
    Feature #13860
    
    Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>

diff --git a/src/views/process-panel/subprocesses-card.tsx b/src/views/process-panel/subprocesses-card.tsx
index fe73aea..1fd5817 100644
--- a/src/views/process-panel/subprocesses-card.tsx
+++ b/src/views/process-panel/subprocesses-card.tsx
@@ -6,7 +6,7 @@ import * as React from 'react';
 import { ArvadosTheme } from '~/common/custom-theme';
 import { StyleRulesCallback, withStyles, WithStyles, Card, CardHeader, CardContent, Grid, Switch } from '@material-ui/core';
 
-type CssRules = 'root' | 'label' | 'value' | 'switch' | 'grid';
+type CssRules = 'root' | 'label' | 'value' | 'middleValue' | 'switch' | 'grid';
 
 const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     root: {
@@ -19,6 +19,9 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     value: {
         marginBottom: theme.spacing.unit
     },
+    middleValue: {
+        marginBottom: theme.spacing.unit - 2
+    },
     switch: {
         '& span:first-child': {
             height: '18px'
@@ -62,7 +65,7 @@ export const SubprocessesCard = withStyles(styles)(
                             <Grid item>
                                 <Grid container direction="column" alignItems="flex-start" spacing={8}>
                                     <Grid item className={classes.value}>1</Grid>
-                                    <Grid item className={classes.value}>
+                                    <Grid item className={classes.middleValue}>
                                         2
                                         <Switch classes={{ root: classes.switch }}
                                             checked={this.state.queued}
@@ -90,7 +93,7 @@ export const SubprocessesCard = withStyles(styles)(
                             <Grid item>
                                 <Grid container direction="column" alignItems="flex-end" spacing={8}>
                                     <Grid item className={classes.value}> </Grid>
-                                    <Grid item className={classes.value}>
+                                    <Grid item className={classes.middleValue}>
                                         2
                                         <Switch classes={{ root: classes.switch }}
                                             checked={this.state.completed}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list