Skip to content

Commit

Permalink
Added IE8 Fix
Browse files Browse the repository at this point in the history
* File Type Icon CSS did not work in IE due to lack of support for `color: transparent`.
* Applied fix provided by Joe Banks in support forum: http://bit.ly/1cSla6R
  • Loading branch information
sscovil committed Jul 22, 2013
1 parent c17edf9 commit b359187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions css/dev/file-type-icons.css
Expand Up @@ -5,6 +5,8 @@
background-image: url('../img/file-type-icons.png');
background-repeat: no-repeat;
color: transparent;
font-size: 0; /* Needed for IE8 */
line-height: 0; /* Needed for IE8 */
float: left;
position: relative;
width: 35px;
Expand Down
2 changes: 1 addition & 1 deletion css/file-type-icons.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b359187

Please sign in to comment.