Skip to content

Conversation

@mbostock
Copy link
Member

@mbostock mbostock commented Jun 2, 2022

The label for a ramp legend was erroneously inheriting the tabular-nums font-variant needed for axis ticks. This fixes it by making it a sibling rather than a child of the axis. I guess there’s the same bug with axis labels (which very rarely include numbers, so we didn’t notice).

Before
Screen Shot 2022-06-02 at 11 50 35 AM

After
Screen Shot 2022-06-02 at 11 50 05 AM

@mbostock mbostock requested a review from Fil June 2, 2022 18:50
@mbostock mbostock merged commit f00e7cc into main Jun 2, 2022
@mbostock mbostock deleted the mbostock/fix-legend-label-font-variant branch June 2, 2022 19:58
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.

3 participants