Commit 04ba67d6 authored by thomaswelton's avatar thomaswelton
Browse files

Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID,...

Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used new variable in glyphicons.less
parent 7ba6daab
1 merge request!12164Fix value of svg font ID & removed hard coding
Showing with 2 additions and 2 deletions
+2 -2
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')", 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}.woff') format('woff')",
~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')", ~"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 // Catchall baseclass
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
@icon-font-path: "../fonts/"; @icon-font-path: "../fonts/";
@icon-font-name: "glyphicons-halflings-regular"; @icon-font-name: "glyphicons-halflings-regular";
@icon-font-svg-id: "glyphicons_halflingsregular";
//== Components //== Components
// //
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment