aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-25 07:45:02 -0700
committerMark Otto <[email protected]>2015-08-25 07:45:02 -0700
commit5fc3b1d5401a3ba511a7a8e63038f078f98dc287 (patch)
treeacd82eca49c2785260e284eb45dc5c748633fcd2
parent0873e9afa852ff723b6b163a7d8aa32aac85c19f (diff)
parentb7b8f98c862594e80c6d3a43972aefc686a92b43 (diff)
downloadbootstrap-5fc3b1d5401a3ba511a7a8e63038f078f98dc287.tar.xz
bootstrap-5fc3b1d5401a3ba511a7a8e63038f078f98dc287.zip
Merge pull request #17113 from JanStevens/v4-fix-retina-mixin
Fixes the _image mixing by prefixing the parameters with $
-rw-r--r--scss/mixins/_image.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/mixins/_image.scss b/scss/mixins/_image.scss
index bec9626f6..e5ae10a3c 100644
--- a/scss/mixins/_image.scss
+++ b/scss/mixins/_image.scss
@@ -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;
}
}