After the update to 6.4.2 and the Bugfix: SVG icons were slightly positioned to high when used as a graphic control
I thought this might be solved, however I am still having the following issue:
In the button element (and other flex-box based layouts with text + icons) if the Icon is loaded as SVG, and the flex-box alignment is set to Baseline
, the icon sits higher than it should do, and in a different location to when it is loaded as a Webfont.
The following is how it should look, and does look when loaded as a webfont:
And the following is when it is loaded as SVG, changing nothing else about the graphic settings:
As you can see, the bottom of the chevron is no-longer aligned with the baseline.
Without baseline alignment working, we either have to load the icon as a Webfont, which is not as good for optimisation, or align it to center, which doesn’t always line up neatly if the icon changes, or align to the top and add a pixel margin, which again can be different for different icons, causing issues if multiple icons are used around the site.