Skip to content

Commit 04e8d48

Browse files
Fix SVG font display
1 parent ac11ff4 commit 04e8d48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/www/D3Treemap.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ const D3Treemap = (props: {
177177
viewBox={`0 0 ${width} ${height}`}
178178
width="100%"
179179
style={{
180-
font: "0.8rem sans-serif",
180+
fontSize: "1em",
181+
fontFamily: theme.typography.fontFamily,
181182
borderWidth: "1px",
182183
borderStyle: "solid",
183184
borderColor: svgBorderColor,

0 commit comments

Comments
 (0)