Fixed #1210 - FileUpload - long filename
parent
378f2d6867
commit
7634c02295
|
@ -17,7 +17,7 @@
|
|||
<div>
|
||||
<img v-if="isImage(file)" role="presentation" :alt="file.name" :src="file.objectURL" :width="previewWidth" />
|
||||
</div>
|
||||
<div>{{file.name}}</div>
|
||||
<div class="p-fileupload-filename">{{file.name}}</div>
|
||||
<div>{{formatSize(file.size)}}</div>
|
||||
<div>
|
||||
<FileUploadButton type="button" icon="pi pi-times" @click="remove(index)" />
|
||||
|
@ -464,6 +464,10 @@ export default {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.p-fileupload-filename {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.p-fluid .p-fileupload .p-button {
|
||||
width: auto;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue