diff --git a/src/plugins/Dashboard/FileItem.js b/src/plugins/Dashboard/FileItem.js index f24868046..e07368b2c 100644 --- a/src/plugins/Dashboard/FileItem.js +++ b/src/plugins/Dashboard/FileItem.js @@ -22,7 +22,7 @@ module.exports = function fileItem (props) { const error = file.error || false const fileName = getFileNameAndExtension(file.meta.name).name - const truncatedFileName = props.isWide ? truncateString(fileName, 15) : fileName + const truncatedFileName = props.isWide ? truncateString(fileName, 16) : fileName const onPauseResumeCancelRetry = (ev) => { if (isUploaded) return diff --git a/src/scss/_dashboard.scss b/src/scss/_dashboard.scss index d6e769ae0..79d828c88 100644 --- a/src/scss/_dashboard.scss +++ b/src/scss/_dashboard.scss @@ -375,6 +375,7 @@ .UppyDashboard-files { margin: 0; padding: 10px; + padding-top: 15px; overflow-y: auto; position: absolute; top: 0; @@ -459,7 +460,7 @@ float: left; width: 140px; height: 170px; - margin: 12px 21px; + margin: 5px 21px; // border-radius: 6px; border: 0; background-color: initial; @@ -534,10 +535,6 @@ z-index: $zIndex-2; } - // .UppyDashboardItem.is-error .UppyDashboardItem-previewInnerWrap:after { - // background-color: rgba($color-red, 0.85); - // } - .UppyDashboardItem-preview img { width: 100%; @@ -685,8 +682,8 @@ height: 16px; .UppyDashboard--wide & { - width: 19px; - height: 19px; + width: 20px; + height: 20px; color: lighten($color-asphalt-gray, 8%); // font-size: 20px; }