Fix file size info alignment
authorMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Thu, 2 Aug 2018 08:59:51 +0000 (10:59 +0200)
committerMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Thu, 2 Aug 2018 08:59:51 +0000 (10:59 +0200)
Feature #13855

Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>

src/components/collection-panel-files/collection-panel-files.tsx
src/components/file-tree/file-tree-item.tsx

index 27354db18a91187f73b501f932aa6a271fc40c00..cdca7e8ebebb9131a2043bfbf67d2cfb45ea87f8 100644 (file)
@@ -27,7 +27,7 @@ const styles: StyleRulesCallback<CssRules> = theme => ({
         marginLeft: '75px'
     },
     fileSizeHeader: {
-        marginRight: '50px'
+        marginRight: '65px'
     }
 });
 
index 3a80e0f81968b4dd7e761af588f955de793a4731..5255ded1febb95b074e72c5e73f3d19ef55d0480 100644 (file)
@@ -22,7 +22,7 @@ const fileTreeItemStyle: StyleRulesCallback<CssRules> = theme => ({
         flex: "1"
     },
     sizeInfo: {
-        marginRight: `${theme.spacing.unit * 3}px`
+        width: `${theme.spacing.unit * 8}px`
     },
     button: {
         width: theme.spacing.unit * 3,