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
This commit is contained in:
Matt Pass
2019-06-17 21:04:10 +01:00
committed by GitHub
parent 6cd5f6198f
commit d61e263e0e

View File

@@ -17,9 +17,9 @@
}
.fileManager LI.dirOpen:before {background-position: -16px 0}
@media screen and (-webkit-min-device-pixel-ratio:0) { /* hacked for chrome and safari */
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { /* 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: -32px 0}
.fileManager LI.pft-file:before {background-position: -32px 0}