Skip to content

Commit d61e263

Browse files
authored
Updated CSS hack for Chrome and Safari only
Avoids this CSS being applied to other browers such as Firefox and IE where it causes tree misalignment of dirs
1 parent 6cd5f61 commit d61e263

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/file-types.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
}
1818
.fileManager LI.dirOpen:before {background-position: -16px 0}
1919

20-
@media screen and (-webkit-min-device-pixel-ratio:0) { /* hacked for chrome and safari */
20+
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { /* hacked for chrome and safari */
2121
.fileManager LI.pft-directory:before, .fileManager LI.pft-file:before {
2222
margin-top: -19px;
2323
}
2424
}
25-
.fileManager LI.pft-file:before {background-position: -32px 0}
25+
.fileManager LI.pft-file:before {background-position: -32px 0}

0 commit comments

Comments
 (0)