Fontawesome: stacked icons not showing correctly

Here is the pluker - http://plunker.co/edit/ka72zj?p=preview

You can see that the delete icon is placed on the right, and not in the center. How should this be fixed?

+4
source share
1 answer

If you are talking about a slight misalignment (a pixel or two), then this, unfortunately, is the nature of some glyphs of the icon font. Absolutely perfect centering vertically or horizontally is quite difficult.

To customize what you see in Chrome, you can apply the following to the delete icon:

left: -1px; top: -1px; 

However, this can have negative consequences for other browsers.

+3
source

Source: https://habr.com/ru/post/1480990/


All Articles