Skip to content

Commit

Permalink
Add new varaible @icon-font-svg-id and set it to be the correct SVG f…
Browse files Browse the repository at this point in the history
…ont ID, used new variable in glyphicons.less
  • Loading branch information
thomaswelton committed Jan 9, 2014
1 parent 7ba6daa commit 04ba67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion less/glyphicons.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')",
~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')",
~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')",
~"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')";
~"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')";
}

// Catchall baseclass
Expand Down
2 changes: 1 addition & 1 deletion less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

@icon-font-path: "../fonts/";
@icon-font-name: "glyphicons-halflings-regular";

@icon-font-svg-id: "glyphicons_halflingsregular";

//== Components
//
Expand Down

0 comments on commit 04ba67d

Please sign in to comment.