toomuchdesign/react-minimal-pie-chart

Labels vertical alignment: dominant-baseline middle vs. central

toomuchdesign opened this issue · 1 comments

Do you want to request a feature or report a bug?

Probably a bug

What is the current behaviour?

Labels vertical alignment relies on CSS prop dominant-baseline](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/dominant-baseline) === middle

What is the expected behaviour?

Labels might use dominant-baseline === central which seems to better align vertically.

It would be a breaking change. Therefore let's wait for the next major.

Fixed by v.8.0.0.