Skip to content

Commit

Permalink
Fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
albingroen committed Mar 17, 2023
1 parent 7531d05 commit 5154054
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Modal = ({

return (
<Dialog
className="fixed z-10 inset-0 overflow-y-auto antialiased font-[Inter]"
className="fixed z-10 inset-0 overflow-y-auto antialiased"
as="div"
onClose={handleClose}
open={isOpen}
Expand Down
8 changes: 8 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ function MyApp({ Component, pageProps }: AppProps) {
<>
<Seo />

<style jsx global>
{`
:root {
--font-inter: ${inter.style.fontFamily};
}
`}
</style>

<SchemaContext.Provider
value={{
schema,
Expand Down

1 comment on commit 5154054

@vercel
Copy link

@vercel vercel bot commented on 5154054 Mar 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.