From 95cac76b24cf817cfc1d825599087833e9ba7742 Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Thu, 2 Aug 2018 10:59:51 +0200 Subject: [PATCH] Fix file size info alignment Feature #13855 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- .../collection-panel-files/collection-panel-files.tsx | 2 +- src/components/file-tree/file-tree-item.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/collection-panel-files/collection-panel-files.tsx b/src/components/collection-panel-files/collection-panel-files.tsx index 27354db1..cdca7e8e 100644 --- a/src/components/collection-panel-files/collection-panel-files.tsx +++ b/src/components/collection-panel-files/collection-panel-files.tsx @@ -27,7 +27,7 @@ const styles: StyleRulesCallback = theme => ({ marginLeft: '75px' }, fileSizeHeader: { - marginRight: '50px' + marginRight: '65px' } }); diff --git a/src/components/file-tree/file-tree-item.tsx b/src/components/file-tree/file-tree-item.tsx index 3a80e0f8..5255ded1 100644 --- a/src/components/file-tree/file-tree-item.tsx +++ b/src/components/file-tree/file-tree-item.tsx @@ -22,7 +22,7 @@ const fileTreeItemStyle: StyleRulesCallback = theme => ({ flex: "1" }, sizeInfo: { - marginRight: `${theme.spacing.unit * 3}px` + width: `${theme.spacing.unit * 8}px` }, button: { width: theme.spacing.unit * 3, -- 2.39.5