From 7fa50567ef7b1845d5ccc8876bcb91ab60f0f481 Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Sat, 31 Dec 2022 22:30:27 +0800 Subject: [PATCH] chore: markdown style --- src/common/component/MarkdownStyleOverride.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/common/component/MarkdownStyleOverride.tsx b/src/common/component/MarkdownStyleOverride.tsx index ef398e6a..0576f1f5 100644 --- a/src/common/component/MarkdownStyleOverride.tsx +++ b/src/common/component/MarkdownStyleOverride.tsx @@ -69,7 +69,7 @@ const MarkdownOverrides = createGlobalStyle` display: block; } - ul { + ul{ white-space: nowrap; margin-top: 0; margin-bottom: 10px; @@ -79,6 +79,14 @@ const MarkdownOverrides = createGlobalStyle` background-color: #475467; } } + ol li{ + display: flex; + flex-direction: column; + } + li ol{ + display: flex; + flex-direction: column; + } ul, ol { font-weight: 400;