Skip to content

Commit

Permalink
fix fonts now import in safari and chrome though tool tip padding and…
Browse files Browse the repository at this point in the history
… spacing in safari broken, working in chrome
  • Loading branch information
eatyourpeas committed Sep 6, 2024
1 parent 49fb3e0 commit 363718b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RCPCHChart/RCPCHChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ const VERSION = '[VI]v{version}[/VI]'; // uses version injector plugin to Rollup
const GlobalStyle = createGlobalStyle`
@font-face {
font-family: 'Montserrat';
src: url(${montserratRegular}) format('ttf'),
src: url(${montserratRegular}) format('truetype'),
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Montserrat-Bold';
src: url(${montserratBold}) format('ttf'),
src: url(${montserratBold}) format('truetype'),
font-weight: 700;
font-style: bold;
}
@font-face {
font-family: 'Montserrat-Italic';
src: url(${montserratItalic}) format('ttf'),
src: url(${montserratItalic}) format('truetype'),
font-weight: 400;
font-style: italic;
}
Expand Down

0 comments on commit 363718b

Please sign in to comment.