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

Allow fontSize to be specified as a CSS length #378

Closed
mbostock opened this issue May 11, 2021 · 0 comments · Fixed by #679
Closed

Allow fontSize to be specified as a CSS length #378

mbostock opened this issue May 11, 2021 · 0 comments · Fixed by #679
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

It’d be nice if fontSize: "12pt" worked. But to do this we’ll need a smarter version of maybeNumber that can detect CSS length strings — we don’t want to interpret "12pt" as a field name.

@mbostock mbostock added the enhancement New feature or request label May 11, 2021
@mbostock mbostock mentioned this issue Jan 22, 2022
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant