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

Remove whitespace around icon #204

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Remove whitespace around icon #204

merged 1 commit into from
Feb 15, 2022

Conversation

rykov
Copy link
Contributor

@rykov rykov commented Feb 14, 2022

Putting an <FaIcon> inside of a link create an unsightly artifact where the link underline extends onto the whitespace around the icon. This changes remove that surrounding whitespace by using ~.

@rykov
Copy link
Contributor Author

rykov commented Feb 14, 2022

Before:
Screen Shot 2022-02-14 at 12 27 58 PM

After:
Screen Shot 2022-02-14 at 12 26 12 PM

@jrjohnson
Copy link
Collaborator

Awesome. Thanks! Would you be willing to add a test for this to ensure we don't leave it out in a future update?

@rykov
Copy link
Contributor Author

rykov commented Feb 14, 2022

@jrjohnson No problem. How's this? bb81a40

@jrjohnson
Copy link
Collaborator

jrjohnson commented Feb 14, 2022

Thanks @rykov, it looks like you need to run npm run lint:fix and get prettier to make a small change and then I'll merge this.

@jrjohnson jrjohnson merged commit 0bd1329 into FortAwesome:master Feb 15, 2022
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.

2 participants