From b54d7d8aa172f85d53f44b601e4e81660d148342 Mon Sep 17 00:00:00 2001 From: hellekin Date: Fri, 22 Jan 2021 22:22:20 +0100 Subject: On the way to finding fonts? --- app/assets/stylesheets/application/_fonts.scss | 2 +- 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" -- cgit v1.2.3