diff --git a/ui/js/component/fileTile/view.jsx b/ui/js/component/fileTile/view.jsx index b243ea1d6..2bb236bd9 100644 --- a/ui/js/component/fileTile/view.jsx +++ b/ui/js/component/fileTile/view.jsx @@ -126,7 +126,6 @@ class FileTile extends React.PureComponent { {" "} {showLocal && fileInfo && } -
{uri}

{title}

@@ -137,6 +136,13 @@ class FileTile extends React.PureComponent { {description} } +
+ + + {uri} + +
+ diff --git a/ui/js/constants/icons.js b/ui/js/constants/icons.js index 6de5babcb..d9c36fc32 100644 --- a/ui/js/constants/icons.js +++ b/ui/js/constants/icons.js @@ -1,2 +1,3 @@ export const FEATURED = "rocket"; export const LOCAL = "folder"; +export const FILE = "file"; diff --git a/ui/scss/component/_file-tile.scss b/ui/scss/component/_file-tile.scss index c35be3f9b..bce4cf583 100644 --- a/ui/scss/component/_file-tile.scss +++ b/ui/scss/component/_file-tile.scss @@ -19,4 +19,18 @@ $height-file-tile: $spacing-vertical * 6; .card__title-primary { margin-top: 0; } -} \ No newline at end of file + .meta { + background: var(--color-canvas); + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 3px; + display: inline-block; + padding: 8px; + max-width: 80%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + .meta-uri { + margin: 0 8px; + } + } +}