[ARVADOS-WORKBENCH2] updated: 1.2.0-747-g527f2f9

Git user git at public.curoverse.com
Sun Oct 28 10:37:56 EDT 2018


Summary of changes:
 src/views-components/sharing-dialog/permission-select.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

       via  527f2f9488f6f3a795bf70964921107d0ac10c12 (commit)
      from  2f14e8e6ff2dabed511301338a917fbf4226ce12 (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 527f2f9488f6f3a795bf70964921107d0ac10c12
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date:   Sun Oct 28 15:37:05 2018 +0100

    Fix permission select styles
    
    Feature #14365
    
    Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>

diff --git a/src/views-components/sharing-dialog/permission-select.tsx b/src/views-components/sharing-dialog/permission-select.tsx
index a2d0298..c16c483 100644
--- a/src/views-components/sharing-dialog/permission-select.tsx
+++ b/src/views-components/sharing-dialog/permission-select.tsx
@@ -44,12 +44,15 @@ export const PermissionSelect = withStyles(PermissionSelectStyles)(
 const renderPermissionItem = (value: string) =>
     <PermissionItem {...{ value }} />;
 
-type PermissionItemClasses = 'value';
+type PermissionItemClasses = 'value' | 'icon';
 
 const permissionItemStyles: StyleRulesCallback<PermissionItemClasses> = theme => ({
     value: {
         marginLeft: theme.spacing.unit,
     },
+    icon: {
+        margin: `-${theme.spacing.unit / 2}px 0`
+    }
 });
 
 const PermissionItem = withStyles(permissionItemStyles)(
@@ -57,7 +60,7 @@ const PermissionItem = withStyles(permissionItemStyles)(
         const Icon = getIcon(value);
         return (
             <Grid container alignItems='center'>
-                <Icon />
+                <Icon className={classes.icon} />
                 <span className={classes.value}>
                     {value}
                 </span>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list