diff options
author | Max Magorsch <max@magorsch.de> | 2020-01-04 01:35:59 +0100 |
---|---|---|
committer | Max Magorsch <max@magorsch.de> | 2020-01-04 01:35:59 +0100 |
commit | 9250fbfc1124f108ba460e08f188055ac75dc90d (patch) | |
tree | ea13dbb58a4ec960b9c7235a850d92709c0fc89b | |
parent | Fix issues due to the modularity of webpack (diff) | |
download | packages-5-9250fbfc1124f108ba460e08f188055ac75dc90d.tar.gz packages-5-9250fbfc1124f108ba460e08f188055ac75dc90d.tar.bz2 packages-5-9250fbfc1124f108ba460e08f188055ac75dc90d.zip |
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 <max@magorsch.de>
-rwxr-xr-x | app/webpack/src/stylesheets/sprockets-octicons.scss | 8 |
1 files 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; } |