diff --git a/lib/files.css b/lib/files.css index bbba297..864a17b 100644 --- a/lib/files.css +++ b/lib/files.css @@ -38,7 +38,12 @@ body {margin: 0; overflow: auto} /* Default file */ .fileManager LI.pft-directory:before, .fileManager LI.pft-file:before { - position: absolute; display: block; width: 16px; height: 16px; content: ""; margin-top: -19px; margin-left: -23px; background:url(../images/file-manager-icons.png) no-repeat 0 0; + position: absolute; display: block; width: 16px; height: 16px; content: ""; margin-top: -2px; margin-left: -23px; background:url(../images/file-manager-icons.png) no-repeat 0 0; +} +@media screen and (-webkit-min-device-pixel-ratio:0) { /* hacked for chrome and safari */ + .fileManager LI.pft-directory:before, .fileManager LI.pft-file:before { + margin-top: -19px; + } } .fileManager LI.pft-file:before {background-position: -16px 0}