]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes the _image mixing by prefixing the parameters with $ 17113/head
authorJan Stevens <jan@playpass.be>
Thu, 20 Aug 2015 09:35:00 +0000 (11:35 +0200)
committerJan Stevens <jan@playpass.be>
Thu, 20 Aug 2015 09:35:00 +0000 (11:35 +0200)
scss/mixins/_image.scss

index bec9626f60c93c982a1d7c70b7b43b191777a76a..e5ae10a3c1742d97452edee3ee1b6e5de7fed605 100644 (file)
@@ -19,7 +19,7 @@
 // Short retina mixin for setting background-image and -size.
 
 @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
-  background-image: url("#{file-1x}");
+  background-image: url($file-1x);
 
   @media
   only screen and (-webkit-min-device-pixel-ratio: 2),
@@ -27,7 +27,7 @@
   only screen and (        min-device-pixel-ratio: 2),
   only screen and (                min-resolution: 192dpi),
   only screen and (                min-resolution: 2dppx) {
-    background-image: url("#{file-2x}");
+    background-image: url($file-2x);
     background-size: $width-1x $height-1x;
   }
 }