fix: use --monospace-font

This commit is contained in:
Ed L
2022-09-10 20:15:53 +01:00
parent 057e6af780
commit 65427e1308
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ const Base = styled.pre`
* Copy codeblock contents button styles * Copy codeblock contents button styles
*/ */
const Lang = styled.div` const Lang = styled.div`
font-family: var(--monospace-font);
width: fit-content; width: fit-content;
padding-bottom: 8px; padding-bottom: 8px;

View File

@@ -80,7 +80,7 @@
} }
code { code {
font-size: 1.4em; font-family: var(--monospace-font);
user-select: all; user-select: all;
} }