diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-22 22:22:20 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-22 22:22:20 +0100 |
commit | b54d7d8aa172f85d53f44b601e4e81660d148342 (patch) | |
tree | e05fd053a2d5a296e8f6c1cff56faf261436ad87 | |
parent | 607902a3247314905d4176af47aac09cafb46635 (diff) | |
download | incommon-map-b54d7d8aa172f85d53f44b601e4e81660d148342.tar.gz |
On the way to finding fonts?
-rw-r--r-- | app/assets/stylesheets/application/_fonts.scss | 2 | ||||
-rw-r--r-- | app/javascript/packs/application.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/application/_fonts.scss b/app/assets/stylesheets/application/_fonts.scss index d8e827d..5bb13f1 100644 --- a/app/assets/stylesheets/application/_fonts.scss +++ b/app/assets/stylesheets/application/_fonts.scss @@ -1,5 +1,5 @@ /* Override ForkAwesome font path to match Webpack's */ -$fa-font-path: '../packs/media/fonts'; +$fa-font-path: '/packs/media/fonts'; /* Align font icon with the marker's head */ .extra-marker-svg i.fa { diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index 011c3fe..721b8c1 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -22,4 +22,4 @@ require("@rails/activestorage").start() import "controllers" import "fork-awesome/scss/fork-awesome" import "fork-awesome/fonts/forkawesome-webfont" -import 'stylesheets/application' +import "stylesheets/application" |