vector icon indicating copy to clipboard operation
vector copied to clipboard

Node label are not vertically centered in Firefox

Open balthild opened this issue 5 years ago • 1 comments

This seems to be an issue of the browsers'. Firefox does not recignise alignment-baseline and baseline-shift in SVG, while Chrome does.

A workaround is replacing alignment-baseline to dominant-baseline.

Firefox:

Chrome:

balthild avatar Aug 01 '20 09:08 balthild

BTW, using central instead of middle for alignment-baseline or dominant-baseline gets better results.

balthild avatar Aug 01 '20 10:08 balthild