From 5c6084a545e215515f66fe004fdea6cb6fad7c5e Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Sun, 22 Apr 2018 23:09:15 +0200 Subject: 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(-) (limited to 'apps') diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index ef5d94b85f8..6cd3086c64f 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 { -- cgit v1.2.3