Skip to content

Commit

Permalink
fix: ensure SVG descendants have the same font-family as the root SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Nov 14, 2024
1 parent c64912f commit 1224c83
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.container {
inline-size: 100%;
}

/* This forces all SVG descendants to have the same
* font-family as the SVG root element, which is required
* for offline export to PNG to work correctly. */
:global(svg.highcharts-root *) {
font-family: inherit;
}

0 comments on commit 1224c83

Please sign in to comment.