From 1911d64c1cf50aa7833a130ba3575da00dd95978 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 29 May 2020 20:36:48 +0200 Subject: [PATCH] fix long filename overflowing, closes #1052 --- src/public/app/widgets/type_widgets/file.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/public/app/widgets/type_widgets/file.js b/src/public/app/widgets/type_widgets/file.js index 7ec5e43af..275138781 100644 --- a/src/public/app/widgets/type_widgets/file.js +++ b/src/public/app/widgets/type_widgets/file.js @@ -5,17 +5,23 @@ import TypeWidget from "./type_widget.js"; const TPL = `
+ + - + - + - + - +
Note ID:Note ID: Original file name:Original file name:
File type:File type: File size:File size:
@@ -94,7 +100,7 @@ export default class FileTypeWidget extends TypeWidget { toastService.showError("Upload of a new file revision failed."); } }); - + return this.$widget; } @@ -130,4 +136,4 @@ export default class FileTypeWidget extends TypeWidget { getFileUrl() { return utils.getUrlForDownload("api/notes/" + this.noteId + "/download"); } -} \ No newline at end of file +}