Utilizing reactjs, react-bootstrap, bootstrap, and fontawesome as dependencies in my project.
I have integrated a fontAwesome component into a react-bootstrap button, applying text-center
as a className. While other icons appear centered without any issue, the faPlay icon seems slightly misaligned to the left.
It is worth mentioning that the parent button is a square with a length of 2em.
You can view it in action here.
Access the module containing this component in the repository here.
The faPlay icon does not have any unique CSS properties that could explain why it is not centered like the others. Any insights on what might be causing this discrepancy?