diff --git a/src/components/DocumentView/Text.tsx b/src/components/DocumentView/Text.tsx index 28fac894a..fac928581 100644 --- a/src/components/DocumentView/Text.tsx +++ b/src/components/DocumentView/Text.tsx @@ -65,7 +65,6 @@ function Code(props: MarkedLeafProps) { return ( ) { 'dark:ring-light/1', 'dark:bg-light/1', 'dark:text-light/7', - '[&>*]:font-normal', // Text size is proportional to the font-size of the parent element 'text-[.875em]', // We ensure that the code is not making the parent bigger, especially in headings diff --git a/src/fonts/index.ts b/src/fonts/index.ts index 6d1525ba7..6f1b5c2be 100644 --- a/src/fonts/index.ts +++ b/src/fonts/index.ts @@ -24,7 +24,7 @@ const inter = Inter({ }); export const ibmPlexMono = IBM_Plex_Mono({ - weight: ['400'], + weight: ['400', '600'], variable: '--font-mono', style: 'normal', preload: false,