From 9250fbfc1124f108ba460e08f188055ac75dc90d Mon Sep 17 00:00:00 2001 From: Max Magorsch Date: Sat, 4 Jan 2020 01:35:59 +0100 Subject: Fix the octicons using webpack So far the octicons have been loaded using the asset-pipeline, i.e. using font-url. However, the asset-pipeline is no longer used. That's why font-url has been replaced by url to fix this. Webpack takes care of resolving the correct paths now. Signed-off-by: Max Magorsch --- app/webpack/src/stylesheets/sprockets-octicons.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/webpack/src/stylesheets/sprockets-octicons.scss b/app/webpack/src/stylesheets/sprockets-octicons.scss index 7b975de..48fcc67 100755 --- a/app/webpack/src/stylesheets/sprockets-octicons.scss +++ b/app/webpack/src/stylesheets/sprockets-octicons.scss @@ -1,9 +1,9 @@ @font-face { font-family: 'octicons'; - src: font-url('../vendor/fonts/octicons.eot?#iefix') format('embedded-opentype'), - font-url('../vendor/fonts/octicons.woff') format('woff'), - font-url('../vendor/fonts/octicons.ttf') format('truetype'), - font-url('../vendor/fonts/octicons.svg#octicons') format('svg'); + src: url('../vendor/fonts/octicons.eot?#iefix') format('embedded-opentype'), + url('../vendor/fonts/octicons.woff') format('woff'), + url('../vendor/fonts/octicons.ttf') format('truetype'), + url('../vendor/fonts/octicons.svg#octicons') format('svg'); font-weight: normal; font-style: normal; } -- cgit v1.2.3-65-gdbad