0

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:

enter image description here

With uneven padding, I get even dimensions:

enter image description here

Maasha Theytaz
  • 69
  • 2
  • 10

1 Answers1

0

A have a similar issue when using http://fusetheme.com, it turns out the theme has a CSS styling for i. Instead of resetting i, I chose to use span which solves the problem for me.

Perhaps this will help other people with similar issue with their own themes.

Hendy Irawan
  • 20,498
  • 11
  • 103
  • 114