Graphviz - overriding container CSS font-size?

I’m using the graphviz component to render a Graphviz graph which uses different font sizes for each of the nodes, however, the CSS on the div that wraps the graphviz object in streamlit seems to have a fixed font size of 9.6 which is overriding the nodes’ fontsize directive.

Does anyone have any suggestions for (cleanly) removing this CSS font-size directive?