We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c22d28 commit be2808dCopy full SHA for be2808d
src/components/Chart.tsx
@@ -201,6 +201,7 @@ export function Chart<TDatum>({
201
{...rest}
202
className={`ReactChart ${className || ''}`}
203
style={{
204
+ fontFamily: 'sans-serif',
205
...style,
206
position: 'absolute',
207
width,
@@ -682,11 +683,7 @@ function ChartInner<TDatum>({
682
683
684
return (
685
<ChartContextProvider value={useGetLatest(contextValue)}>
- <div
686
- style={{
687
- fontFamily: 'sans-serif',
688
- }}
689
- >
+ <div>
690
<svg
691
ref={svgRef}
692
0 commit comments