I have a biiiiig design issue. A 0.5px one to be exact. I use FontAwesome for my icons and I've noticed that the icons (which should be 14x14px when font-size
is set to 14px
), are 14x14.5px. It means that if I had some padding
around my icon it won't be perfectly centered, and I should then set a padding
of .5px
to compensate. The problem seem to come from FontAwesome's ::before
(the <i>
tag is indeed 14x14px). Any idea on how to solve this?
With even padding, I get uneven dimensions:
With uneven padding, I get even dimensions: