-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix icons issue after migration to font-awesome-rails #8023
Comments
@jywarren Can you point me to the right files for the leaflet map icons? I can't seem to find them in plots2 😅 |
Hi! @icarito sez:
Hope that helps!!! |
Hey @jywarren I am not sure if I understand correctly 😅 I have to edit the font awesome icons called that is- The |
Ah but you can't find where the HTML is? I wonder if it's actually in the upstream library leaflet-environmental-layers? |
If so, could it be somewhere here? https://github.com/publiclab/plots2/blob/master/app/assets/javascripts/leaflet_helper.js |
Maybe they're instantiated here and we need to detect fontawesome version? https://github.com/publiclab/leaflet-environmental-layers |
Please describe the problem (or idea)
Some icons available in Font Awesome 5.0 are currently used in the application which aren't getting loaded now since font-awesome-rails makes use of v4.7.0.
The icons are as follows and can be replaced by their counterpart of the FA v4.7.0 library instead:-
One more thing noticed in file
layouts/_header
the bars icons needs to be called asfa fa-bars
instead offas fa-bars
The text was updated successfully, but these errors were encountered: