Skip to content

Commit 363718b

Browse files
committed
fix fonts now import in safari and chrome though tool tip padding and spacing in safari broken, working in chrome
1 parent 49fb3e0 commit 363718b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/RCPCHChart/RCPCHChart.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ const VERSION = '[VI]v{version}[/VI]'; // uses version injector plugin to Rollup
3030
const GlobalStyle = createGlobalStyle`
3131
@font-face {
3232
font-family: 'Montserrat';
33-
src: url(${montserratRegular}) format('ttf'),
33+
src: url(${montserratRegular}) format('truetype'),
3434
font-weight: 400;
3535
font-style: normal;
3636
}
3737
3838
@font-face {
3939
font-family: 'Montserrat-Bold';
40-
src: url(${montserratBold}) format('ttf'),
40+
src: url(${montserratBold}) format('truetype'),
4141
font-weight: 700;
4242
font-style: bold;
4343
}
4444
4545
@font-face {
4646
font-family: 'Montserrat-Italic';
47-
src: url(${montserratItalic}) format('ttf'),
47+
src: url(${montserratItalic}) format('truetype'),
4848
font-weight: 400;
4949
font-style: italic;
5050
}

0 commit comments

Comments
 (0)