From 97bfc3f6012027077077ea4a6b5f2f709c76158e Mon Sep 17 00:00:00 2001 From: hellekin Date: Fri, 22 Jan 2021 10:35:07 +0100 Subject: Add markers and popups - Replace MakiMarkers with ExtraMarkers and ForkAwesome - Add HTML popup binding --- app/assets/stylesheets/application/_fonts.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/assets/stylesheets/application/_fonts.scss (limited to 'app/assets/stylesheets/application') diff --git a/app/assets/stylesheets/application/_fonts.scss b/app/assets/stylesheets/application/_fonts.scss new file mode 100644 index 0000000..2d3565c --- /dev/null +++ b/app/assets/stylesheets/application/_fonts.scss @@ -0,0 +1,12 @@ +/* Override ForkAwesome font path to match Webpack's */ +@fa-font-path: '../media/fonts'; + +/* Align font icon with the marker's head */ +.extra-marker-svg i.fa { + position: absolute; + top: 9px; + font-size: 16px; + left: -2px; + right: 0px; + text-align: center; +} -- cgit v1.2.3