From a366b5284d01de0b07bd570da9e71566ea0778ae Mon Sep 17 00:00:00 2001 From: You-j Date: Wed, 25 Aug 2021 05:54:27 +0900 Subject: [PATCH 1/2] fix code style --- app/lib/pages/code/code-options-control.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/lib/pages/code/code-options-control.tsx b/app/lib/pages/code/code-options-control.tsx index e8ff5b3b..2af0182f 100644 --- a/app/lib/pages/code/code-options-control.tsx +++ b/app/lib/pages/code/code-options-control.tsx @@ -191,7 +191,8 @@ function __lang_to_docstring_lang(lang: Language): LanguageType { } const Wrapper = styled.div` - // for reset body margin 8px - /* margin-right: -8px; */ - /* margin-left: -8px; */ + div, + ul { + font-family: "Source Code Pro", "Courier New", "Lucida Console", Monaco; + } `; From 3bfa399bb09b612cfc9aa8edb279533c540e83a3 Mon Sep 17 00:00:00 2001 From: You-j Date: Wed, 25 Aug 2021 06:19:33 +0900 Subject: [PATCH 2/2] add font link in next --- web/pages/_document.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/pages/_document.tsx b/web/pages/_document.tsx index 5e0d058f..23108cfb 100644 --- a/web/pages/_document.tsx +++ b/web/pages/_document.tsx @@ -23,6 +23,18 @@ export default class HeadDocument extends Document { `, }} /> + + + + +