From 141908bd9ca84dea65be4bb4a953a91d76bd48eb Mon Sep 17 00:00:00 2001 From: Sugaroverdose Date: Sat, 17 Jan 2015 01:43:42 +0300 Subject: [PATCH] Add ie8 text-overflow: ellipsis support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit minimum browser window width ≈ 1280px --- apps/files/css/files.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 7c825c965a8..45be6e8b3b4 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -296,6 +296,10 @@ table td.filename .nametext { max-width: 800px; height: 100%; } +/* IE8 text-overflow: ellipsis support */ +.ie8 table td.filename .nametext { + min-width: 50%; +} .has-favorites #fileList td.filename a.name { left: 50px; margin-right: 50px; @@ -308,6 +312,13 @@ table td.filename .nametext .innernametext { display: inline-block; vertical-align: top; } +/* IE8 text-overflow: ellipsis support */ +.ie8 table td.filename .nametext .innernametext { + white-space: nowrap; + word-wrap: normal; + -ms-text-overflow: ellipsis; + max-width: 47%; +} @media only screen and (min-width: 1366px) { table td.filename .nametext .innernametext { -- 2.39.5