diff --git a/src/plugins/Dashboard/FileItem.js b/src/plugins/Dashboard/FileItem.js index 4b2d70067..5b95eaa12 100644 --- a/src/plugins/Dashboard/FileItem.js +++ b/src/plugins/Dashboard/FileItem.js @@ -86,14 +86,12 @@ module.exports = function fileItem (props) { }
-
${file.data.size ? prettyBytes(file.data.size) : ''}
- ${file.source - ? html`
+ ${file.data.size && html`
${prettyBytes(file.data.size)}
`} + ${file.source && html`
${acquirers.map(acquirer => { - if (acquirer.id === file.source) return html`${acquirer.icon()}` + if (acquirer.id === file.source) return html`${acquirer.icon()}` })}
` - : '' }
${!uploadInProgressOrComplete diff --git a/src/plugins/Dashboard/index.js b/src/plugins/Dashboard/index.js index afe8eb09e..b3da95bfe 100644 --- a/src/plugins/Dashboard/index.js +++ b/src/plugins/Dashboard/index.js @@ -28,6 +28,7 @@ module.exports = class DashboardUI extends Plugin { dashboardTitle: 'Uppy Dashboard', copyLinkToClipboardSuccess: 'Link copied to clipboard.', copyLinkToClipboardFallback: 'Copy the URL below', + fileSource: 'File source', done: 'Done', localDisk: 'Local Disk', myDevice: 'My Device', diff --git a/src/scss/_dashboard.scss b/src/scss/_dashboard.scss index c96663e41..0a9c8b79e 100644 --- a/src/scss/_dashboard.scss +++ b/src/scss/_dashboard.scss @@ -474,9 +474,8 @@ } .UppyDashboardItem-sourceIcon { - // color: rgba($color-white, 0.95); - position: relative; - left: 3px; + // position: relative; + // left: 3px; display: inline-block; vertical-align: middle; width: 7px; @@ -605,8 +604,9 @@ .UppyDashboardItem-statusSize { display: inline-block; - vertical-align: middle; + vertical-align: bottom; text-transform: uppercase; + margin-right: 3px; } .UppyDashboardItem-edit,