-
I'm currently building a responsive Pie chart with Nivo. Because we are using quite long labels I would like to be able to adjust the fontSize of the labels based on the screen size. I'm currently using the code below:
Would it be possible to use 14px on mobile and 20px on desktop? |
Beta Was this translation helpful? Give feedback.
Answered by
plouc
Jan 21, 2025
Replies: 1 comment 1 reply
-
Nivo doesn't provide a specific mechanism for this, but maybe you could try with regular css? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
qbixx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nivo doesn't provide a specific mechanism for this, but maybe you could try with regular css?