ekzhang/sshx

Icons are sometimes not centered

ekzhang opened this issue · 1 comments

Also only for some operating systems and browsers?

ok tiny detail but the icons are not always centered, depending on where the terminal window is placed:

image

probably just the browser trying to round the icon position to the nearest pixel

This happens in Firefox. Can probably resolve it by combining the icon SVG with the circle around it and applying conditional CSS. But that sounds like too much work for the minor detail.

Firefox doesn't align SVGs to the pixel raster. However it aligns elements transformed via the CSS transform rule