Skip to content
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

Icons not showing @ 2.1.0 #57

Closed
pctechjon opened this issue Jun 22, 2019 · 2 comments
Closed

Icons not showing @ 2.1.0 #57

pctechjon opened this issue Jun 22, 2019 · 2 comments
Labels

Comments

@pctechjon
Copy link

I know there's issue 39 with probably the same issue, but I'm experiencing it in a version after 2.0.1 where it was fixed.

rails (4.2.11.1)
arctic_admin (2.1.0)
activeadmin (1.4.3)

app/assets/javascripts/active_admin.js
(active_admin/base removed already)

//= require arctic_admin/base

app/assets/stylesheets/active_admin.scss
(active_admin/base removed already)

@import "arctic_admin/base";
@import "active_admin/mixins";

config/initializers/active_admin.rb

Added:
  meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
  config.meta_tags = meta_tags_options
  config.meta_tags_for_logged_out_pages = meta_tags_options

Example screenshot of index column headers. Other icons like the arrows for the side-bar menu are also missing.

arctic_admin_no_icons

I would be open to using a CDN for the FA icons if necessary, just not sure how to configure that in ActiveAdmin.

@SimFortier11
Copy link

adding @import 'font_awesome5_webfont'; in _base.scss solves the problem
( don't forget to add font_awesome5_rails in the gemfile )

@cprodhomme cprodhomme added the bug label Feb 5, 2020
@cprodhomme
Copy link
Owner

duplicate to #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants