You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way, it’ll work out of the box with React and other frameworks, and it’ll work better with Observable’s Download SVG since the stylesheet will be included. Related #248.
The text was updated successfully, but these errors were encountered:
Thinking about this more last night, was wondering if this inheritance was more what I would want? I was worried about the styles leaking out of the plot svg into my surrounding document. (though with namespaced selectors, maybe not a problem)
which is not terrible, but slightly more annoying.
Stepping back a minute too, the reason the text css feels different than the other css in plot/style.css is that they affect the presentation of the content of the svg. The other things in style.css are css styles that only really affect the container. I sort of mostly want a plot chart to act like an image when I'm integrating in into another environment.
This way, it’ll work out of the box with React and other frameworks, and it’ll work better with Observable’s Download SVG since the stylesheet will be included. Related #248.
The text was updated successfully, but these errors were encountered: