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

GATSBY] FontAwesome loading icons in Netlify get large then goto normal size #494

Open
mrgreen33gamer opened this issue Mar 11, 2022 · 1 comment

Comments

@mrgreen33gamer
Copy link

I've looked in the Issues section about this, and it just seems even if I use server side icons or not, I still get this issue when I deploy my website to Netlify, everytime I load the page the icons get big then go smaller again. I've tried the code below in several areas of my gatsby project.

import "@fortawesome/fontawesome-svg-core/styles.css";
import { config } from "@fortawesome/fontawesome-svg-core";
config.autoAddCss = false;

Here's a link to my Netlify server
https://mystifying-einstein-ff01f3.netlify.app/

At first I expected the icons to just load regularly with the static site publisher but the issue continues to persist.

I'm currently on Firefox (Version 98.0 64x), on Windows 10.

Any help would be greatly appreciated, I'm looking forward to using Font Awesome's icons to create websites to local business owners in my town, and eventually purchase Font Awesome Icons Pro :)

Thanks! ~J

@daniel-kennedy
Copy link

Sorry to butt in on your issue, but I am experiencing this with my NextJS project, too. Did it ever resolve for you?

Thanks,
Dan

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

No branches or pull requests

2 participants