Skip to content

Allow fontSize to be specified as a CSS length #378

@mbostock

Description

@mbostock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions