Update asc-mixins.less

This commit is contained in:
maxkadushkin 2020-03-17 15:19:42 +03:00 committed by GitHub
parent 505a2bf1e5
commit f9d5ba38e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,13 +180,13 @@
@2ximage: replace(@imagepath, '\.png$', '@2x.png');
@media only screen {
@media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
(min-resolution: 1.5dppx) and (max-resolution: 1.9dppx),
(min-resolution: 144dpi) and (max-resolution: 191dpi)
{
background-image: ~"url(@{1d5ximage})";
background-size: @w @h;
}
// @media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
// (min-resolution: 1.5dppx) and (max-resolution: 1.9dppx),
// (min-resolution: 144dpi) and (max-resolution: 191dpi)
// {
// background-image: ~"url(@{1d5ximage})";
// background-size: @w @h;
// }
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 2dppx),
@ -279,4 +279,4 @@
background-size: @img-flags-width auto;
}
}
}
}