From cbdaa8b7ce041ddb7768fa374c1b65e2515f9b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 22 Apr 2018 23:09:15 +0200 Subject: [PATCH] Add min-width to trick the table width calculation in safari MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files/css/files.scss | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index e9e616aa727..b89332248f7 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -335,17 +335,20 @@ table td.filename .nametext, .modified, .column-last>span:first-child { float:le /* TODO fix usability bug (accidental file/folder selection) */ table { - td.filename .nametext { - width: 0; - flex-grow: 1; - display: flex; - padding: 0; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - height: 100%; - z-index: 10; - padding-right: 20px; + td.filename { + max-width: 0; + .nametext { + width: 0; + flex-grow: 1; + display: flex; + padding: 0; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + height: 100%; + z-index: 10; + padding-right: 20px; + } } .uploadtext {