]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add ie8 text-overflow: ellipsis support
authorSugaroverdose <n1nj4p0w3r@gmail.com>
Fri, 16 Jan 2015 22:43:42 +0000 (01:43 +0300)
committerSugaroverdose <n1nj4p0w3r@gmail.com>
Fri, 16 Jan 2015 22:43:42 +0000 (01:43 +0300)
minimum browser window width ≈ 1280px

apps/files/css/files.css

index 7c825c965a8ea5e9e32fddc1b951daa25ec1a3d1..45be6e8b3b4a3d2c3a1466c56772242719cbedf1 100644 (file)
@@ -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 {