mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 12:37:00 +00:00
tweak paddings and file name length
This commit is contained in:
parent
b34b735c8c
commit
359218df71
2 changed files with 5 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue