[ARVADOS-WORKBENCH2] updated: 1.2.0-683-g98a57d5
Git user
git at public.curoverse.com
Wed Oct 17 08:25:04 EDT 2018
Summary of changes:
src/components/file-tree/file-tree-item.tsx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
via 98a57d51cba2d02e8337a04eaabee1f37ad84cac (commit)
from 868cd8ed747dfd61aa7e36e9e77afe6f48e81e2c (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 98a57d51cba2d02e8337a04eaabee1f37ad84cac
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Wed Oct 17 14:24:51 2018 +0200
refs #14350-more-options-are-misplaced-in-collection-view
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/components/file-tree/file-tree-item.tsx b/src/components/file-tree/file-tree-item.tsx
index 02dd04b..98164ad 100644
--- a/src/components/file-tree/file-tree-item.tsx
+++ b/src/components/file-tree/file-tree-item.tsx
@@ -10,7 +10,7 @@ import { formatFileSize } from "~/common/formatters";
import { ListItemTextIcon } from "../list-item-text-icon/list-item-text-icon";
import { FileTreeData } from "./file-tree-data";
-type CssRules = "root" | "spacer" | "sizeInfo" | "button";
+type CssRules = "root" | "spacer" | "sizeInfo" | "button" | "moreOptions";
const fileTreeItemStyle: StyleRulesCallback<CssRules> = theme => ({
root: {
@@ -27,7 +27,10 @@ const fileTreeItemStyle: StyleRulesCallback<CssRules> = theme => ({
button: {
width: theme.spacing.unit * 3,
height: theme.spacing.unit * 3,
- marginRight: theme.spacing.unit
+ marginRight: theme.spacing.unit,
+ },
+ moreOptions: {
+ position: 'absolute'
}
});
@@ -51,7 +54,7 @@ export const FileTreeItem = withStyles(fileTreeItemStyle)(
<IconButton
className={classes.button}
onClick={this.handleClick}>
- <MoreOptionsIcon />
+ <MoreOptionsIcon className={classes.moreOptions}/>
</IconButton>
</Tooltip>
</div >;
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list