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

Months label are cut off in firefox #2

Open
tbaeg opened this issue May 22, 2017 · 0 comments
Open

Months label are cut off in firefox #2

tbaeg opened this issue May 22, 2017 · 0 comments
Assignees

Comments

@tbaeg
Copy link
Owner

tbaeg commented May 22, 2017

SVG has no standard for padding.

https://jsfiddle.net/pm9wyfmh/2/

Rendered in Firefox cuts off the labels due to the reliance of CSS padding to display labels (which works in Chrome).

Intermediate solution us to specify a viewBox on the svg element. Specifically a size of viewBox=-15 0 810 100.

Honestly, everything needs to be adjusted to be responsive and not so static.

@tbaeg tbaeg self-assigned this May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant