Skip to content

Commit

Permalink
Add ie8 text-overflow: ellipsis support
Browse files Browse the repository at this point in the history
minimum browser window width ≈ 1280px
  • Loading branch information
Sugaroverdose committed Jan 16, 2015
1 parent b2879d3 commit 141908b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/files/css/files.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down

0 comments on commit 141908b

Please sign in to comment.