summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-26 19:39:57 +0100
committerGitHub <noreply@github.com>2019-11-26 19:39:57 +0100
commit2b913de41706aae531d476d80f64c4fd2fd91b92 (patch)
tree546193441c3acf4a2ac0507a555c201f6f1df441 /apps
parentfa1b23b67aec1fcc8f6e8093fce184a308aed647 (diff)
parentefb73a9b3c65df833333f25cde5d70156a262b9e (diff)
downloadnextcloud-server-2b913de41706aae531d476d80f64c4fd2fd91b92.tar.gz
nextcloud-server-2b913de41706aae531d476d80f64c4fd2fd91b92.zip
Merge pull request #18123 from nextcloud/fixbug/18053/summary_not_aligned
fix summary elements alignment
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.scss3
-rw-r--r--apps/files/js/filesummary.js4
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 833c0aa1c13..915c037431d 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 c866ccb4ff5..202dd51cd4c 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 = $(
- '<td>' + this._infoTemplate() + '</td>' +
+ '<td class="filesummary">'+ this._infoTemplate() + '</td>' +
fileSize +
'<td class="date"></td>'
);