Add background-size to 1x in hidpiImage mixin

This commit is contained in:
Justin Edmund 2023-04-12 05:32:49 -07:00
parent f8b593ee63
commit 259656e505

View file

@ -36,6 +36,7 @@
$repeat: no-repeat $repeat: no-repeat
) { ) {
background: url($image + '.' + $extension) $repeat $position; background: url($image + '.' + $extension) $repeat $position;
background-size: $width $height;
@media screen and (-webkit-min-device-pixel-ratio: 2), @media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min--moz-device-pixel-ratio: 2), screen and (min--moz-device-pixel-ratio: 2),