Merge pull request #18123 from nextcloud/fixbug/18053/summary_not_aligned

fix summary elements alignment
This commit is contained in:
Roeland Jago Douma 2019-11-26 19:39:57 +01:00 committed by GitHub
commit 2b913de417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -656,6 +656,9 @@ a.action > img {
/* add whitespace to bottom of files list to correctly show dropdowns */ /* add whitespace to bottom of files list to correctly show dropdowns */
height: 250px; height: 250px;
} }
#filestable .filesummary {
width: 100%;
}
/* Less whitespace needed on link share page /* Less whitespace needed on link share page
* as there is a footer and action menus have fewer entries. * as there is a footer and action menus have fewer entries.
*/ */

View File

@ -62,7 +62,7 @@
* Returns whether the given file info must be hidden * Returns whether the given file info must be hidden
* *
* @param {OC.Files.FileInfo} fileInfo file info * @param {OC.Files.FileInfo} fileInfo file info
* *
* @return {boolean} true if the file is a hidden file, false otherwise * @return {boolean} true if the file is a hidden file, false otherwise
*/ */
_isHiddenFile: function(file) { _isHiddenFile: function(file) {
@ -266,7 +266,7 @@
} }
var $summary = $( var $summary = $(
'<td>' + this._infoTemplate() + '</td>' + '<td class="filesummary">'+ this._infoTemplate() + '</td>' +
fileSize + fileSize +
'<td class="date"></td>' '<td class="date"></td>'
); );