aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-22 22:22:20 +0100
committerhellekin <hellekin@cepheide.org>2021-01-22 22:22:20 +0100
commitb54d7d8aa172f85d53f44b601e4e81660d148342 (patch)
treee05fd053a2d5a296e8f6c1cff56faf261436ad87
parent607902a3247314905d4176af47aac09cafb46635 (diff)
downloadincommon-map-b54d7d8aa172f85d53f44b601e4e81660d148342.tar.gz
On the way to finding fonts?
-rw-r--r--app/assets/stylesheets/application/_fonts.scss2
-rw-r--r--app/javascript/packs/application.js2
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"