Ant design icons set a global vertical-align property under the class selector .anticon with a value of -0.125em which could be easily preceded by other element selectors, like the one introduced in Tailwind Preflight.
In that case, the icon is not vertically middle aligned. (Check the image below.)
Ant design icons set a global
vertical-align
property under the class selector.anticon
with a value of-0.125em
which could be easily preceded by other element selectors, like the one introduced in Tailwind Preflight.In that case, the icon is not vertically middle aligned. (Check the image below.)