mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
a7369e809d
We need a new compass function to handle image-path, since image-url (rightfully) includes the url() wrapper. We don't want the url() wrapper around our path variable, since bootstrap already includes it. This way we only have to patch the _variables.scss file, and not _sprites.scss too.
15 lines
683 B
Diff
15 lines
683 B
Diff
diff --git a/vendor/assets/stylesheets/_variables.scss b/vendor/assets/stylesheets/_variables.scss
|
|
index e29dc59..85f4d56 100644
|
|
--- a/vendor/assets/stylesheets/_variables.scss
|
|
+++ b/vendor/assets/stylesheets/_variables.scss
|
|
@@ -151,8 +151,8 @@ $zindexModal: 1050 !default;
|
|
|
|
// Sprite icons path
|
|
// -------------------------
|
|
-$iconSpritePath: "../img/glyphicons-halflings.png" !default;
|
|
-$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
|
|
+$iconSpritePath: image-path("glyphicons-halflings.png") !default;
|
|
+$iconWhiteSpritePath: image-path("glyphicons-halflings-white.png") !default;
|
|
|
|
|
|
// Input placeholder text color
|