From d2264a2a43211591d8775029f4762a4d056a6140 Mon Sep 17 00:00:00 2001 From: Ed L Date: Sat, 10 Sep 2022 20:15:53 +0100 Subject: [PATCH] fix: use --monospace-font --- src/components/markdown/plugins/Codeblock.tsx | 1 + src/pages/settings/server/Panes.module.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/markdown/plugins/Codeblock.tsx b/src/components/markdown/plugins/Codeblock.tsx index 85f27ece..2eae0a4c 100644 --- a/src/components/markdown/plugins/Codeblock.tsx +++ b/src/components/markdown/plugins/Codeblock.tsx @@ -20,6 +20,7 @@ const Base = styled.pre` * Copy codeblock contents button styles */ const Lang = styled.div` + font-family: var(--monospace-font); width: fit-content; padding-bottom: 8px; diff --git a/src/pages/settings/server/Panes.module.scss b/src/pages/settings/server/Panes.module.scss index 2c26ffcb..9fe31f8c 100644 --- a/src/pages/settings/server/Panes.module.scss +++ b/src/pages/settings/server/Panes.module.scss @@ -80,7 +80,7 @@ } code { - font-size: 1.4em; + font-family: var(--monospace-font); user-select: all; }