Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix text alignment for the scale. #828

Merged
merged 1 commit into from
May 25, 2018
Merged

Fix text alignment for the scale. #828

merged 1 commit into from
May 25, 2018

Conversation

manthey
Copy link
Contributor

@manthey manthey commented May 25, 2018

For svg text elements, alignment-baseline is not a valid property (though Chrome honors it). One must use dominant-baseline instead.

This fixes a rendering bug in Firefox. Before:
image
After:
image

For svg text elements, `alignment-baseline` is not a valid property
(though Chrome honors it).  One must use `dominant-baseline` instead.
Copy link

@matthewma7 matthewma7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@manthey manthey merged commit 2a100ef into master May 25, 2018
@manthey manthey deleted the fix-scale-baseline branch May 25, 2018 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants