From efb73a9b3c65df833333f25cde5d70156a262b9e Mon Sep 17 00:00:00 2001 From: Greta Doci Date: Tue, 26 Nov 2019 18:52:56 +0100 Subject: [PATCH] fix summary elements alignment Signed-off-by: Greta Doci --- apps/files/css/files.scss | 3 +++ apps/files/js/filesummary.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 833c0aa1c1..915c037431 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -656,6 +656,9 @@ a.action > img { /* add whitespace to bottom of files list to correctly show dropdowns */ height: 250px; } +#filestable .filesummary { + width: 100%; +} /* Less whitespace needed on link share page * as there is a footer and action menus have fewer entries. */ diff --git a/apps/files/js/filesummary.js b/apps/files/js/filesummary.js index c866ccb4ff..202dd51cd4 100644 --- a/apps/files/js/filesummary.js +++ b/apps/files/js/filesummary.js @@ -62,7 +62,7 @@ * Returns whether the given file info must be hidden * * @param {OC.Files.FileInfo} fileInfo file info - * + * * @return {boolean} true if the file is a hidden file, false otherwise */ _isHiddenFile: function(file) { @@ -266,7 +266,7 @@ } var $summary = $( - '' + this._infoTemplate() + '' + + ''+ this._infoTemplate() + '' + fileSize + '' );