From ec240239434a1e744b287846d3e0094757ff319a Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Tue, 10 Mar 2020 17:12:46 +0100 Subject: [PATCH] fix row width --- res/include/script/file_manager/DirectoryElement.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/include/script/file_manager/DirectoryElement.js b/res/include/script/file_manager/DirectoryElement.js index cf413f8..a4dc6c9 100644 --- a/res/include/script/file_manager/DirectoryElement.js +++ b/res/include/script/file_manager/DirectoryElement.js @@ -191,7 +191,7 @@ DirectoryElement.prototype.createFileButton = function(file, index) { } { let cell = document.createElement("div") - cell.style.minWidth = this.fieldDateWidth + cell.style.width = this.fieldDateWidth let label = document.createElement("span") label.innerText = printDate(new Date(file.dateCreated), true, true, false) cell.appendChild(label) @@ -199,7 +199,7 @@ DirectoryElement.prototype.createFileButton = function(file, index) { } { let cell = document.createElement("div") - cell.style.minWidth = this.fieldSizeWidth + cell.style.width = this.fieldSizeWidth let label = document.createElement("span") label.innerText = file.sizeLabel cell.appendChild(label) @@ -207,7 +207,7 @@ DirectoryElement.prototype.createFileButton = function(file, index) { } { let cell = document.createElement("div") - cell.style.minWidth = this.fieldTypeWidth + cell.style.width = this.fieldTypeWidth let label = document.createElement("span") label.innerText = file.type cell.appendChild(label)