-
Notifications
You must be signed in to change notification settings - Fork 187
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
style the figure element? #397
Comments
I find the default font-size fairly small, but I can adjust it with ...style: { fontSize: 14} . |
"Dark mode" is another use case for this: https://talk.observablehq.com/t/plot-legend-fill-color-when-embedded/7494 |
I also have the problem where the font-size of the legend doesn't change. See this example: Which was generated using the following code:
|
The use case (at the bottom of this notebook) is a Plot that we want to make 2800px wide, and which should scroll horizontally in Observable.
My suggestion was to create a figure parent by adding a caption, then setting max-width + scroll overflow styles to the parent, like so:
it looks like there should be a better way at least to set styles on the figure element
The text was updated successfully, but these errors were encountered: