diff options
| author | Johan Steen <[email protected]> | 2012-02-18 14:28:44 +0100 |
|---|---|---|
| committer | Johan Steen <[email protected]> | 2012-02-18 14:28:44 +0100 |
| commit | c900d72857e5c3865abe9502ad7d255e84f1af0e (patch) | |
| tree | 180ebd87bd34581a7ec20d915be7aea22e86e7b4 | |
| parent | b776cae902cf4cd6c0d7227214b8a835be8df750 (diff) | |
| download | bootstrap-c900d72857e5c3865abe9502ad7d255e84f1af0e.tar.xz bootstrap-c900d72857e5c3865abe9502ad7d255e84f1af0e.zip | |
Fixed compile problem with LESS 1.2.1.
The sprite path variables introduced in v2.0.1 prevents bootstrap.less to
compile wiht LESS v1.2.1. Updated the variables to use the @{name}
construct when inserted in sprites.less, as outlined in the LESS
documentation. This change makes the CSS compile with LESS v1.2.1.
| -rw-r--r-- | less/sprites.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/sprites.less b/less/sprites.less index a7741661e..cdd9f6e85 100644 --- a/less/sprites.less +++ b/less/sprites.less @@ -21,14 +21,14 @@ height: 14px; line-height: 14px; vertical-align: text-top; - background-image: url(@iconSpritePath); + background-image: url("@{iconSpritePath}"); background-position: 14px 14px; background-repeat: no-repeat; .ie7-restore-right-whitespace(); } .icon-white { - background-image: url(@iconWhiteSpritePath); + background-image: url("@{iconWhiteSpritePath}"); } .icon-glass { background-position: 0 0; } |
