Skip to content

Commit

Permalink
fix: load workbench icon font relative to base href
Browse files Browse the repository at this point in the history
Otherwise, icon font is not found if deployed with a context path.
  • Loading branch information
danielwiehl committed Dec 11, 2018
1 parent c0f678d commit f538223
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions projects/scion/workbench/src/lib/workbench.icon.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {
font-family: 'wb-icon';
src: url('/assets/fonts/wb-icon.eot'); /* IE9 Compat Modes */
src: url('/assets/fonts/wb-icon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/assets/fonts/wb-icon.woff') format('woff'), /* Pretty Modern Browsers */
url('/assets/fonts/wb-icon.ttf') format('truetype'), /* Safari, Android, iOS */
url('/assets/fonts/wb-icon.svg#wb-icon') format('svg'); /* Legacy iOS */
src: url('assets/fonts/wb-icon.eot'); /* IE9 Compat Modes */
src: url('assets/fonts/wb-icon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('assets/fonts/wb-icon.woff') format('woff'), /* Pretty Modern Browsers */
url('assets/fonts/wb-icon.ttf') format('truetype'), /* Safari, Android, iOS */
url('assets/fonts/wb-icon.svg#wb-icon') format('svg'); /* Legacy iOS */
font-weight: normal;
font-style: normal;
}
Expand Down

0 comments on commit f538223

Please sign in to comment.