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

Bug-Fix: Update Font Awesome brand classes for v5 #71

Merged
merged 1 commit into from Jan 31, 2019

Conversation

bstanger
Copy link
Contributor

Hello! I noticed the social media icons in the footer weren't showing up properly. I looked into it and believe it's because there was recently a commit that loaded all.css of version 5.3.1 of Font Awesome here:
06dd6b5

Apparently in version 5 of Font Awesome, brand icons have to have the class 'fab' instead of 'fa'.
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4

I replaced the 'fa' class with 'fab' in all the instances I could find of branding icons, including in the footer, the share-this partial on the right side of blog posts, and the tweet-love partial used in 8/14/2015 blog post 'SF Open Data Quarterly Roundup.' I verified my changes addressed the bug in these locations by running locally.

Before:
screen shot 2018-10-22 at 9 07 56 am

After:
screen shot 2018-10-22 at 9 11 30 am

Let me know if you have any questions or concerns. I might make some more contributions as part of Hacktoberfest if that's alright. Thanks!

@jasonlally
Copy link
Contributor

Thank you!

@jasonlally jasonlally merged commit a997d3d into DataSF:master Jan 31, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants