From 46f3fd1cb62b56ab085b439a231b9297714a8ab6 Mon Sep 17 00:00:00 2001 From: Oyasuminasai <61616918+nfnfgo@users.noreply.github.com> Date: Mon, 21 Oct 2024 23:00:46 +0800 Subject: [PATCH 1/6] fix: Fix scroll issue. Add scroll bar when overflow. --- src/components/code_block.jsx | 2 +- src/style/markdown.css | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/code_block.jsx b/src/components/code_block.jsx index 2a5f35b..dede368 100644 --- a/src/components/code_block.jsx +++ b/src/components/code_block.jsx @@ -33,7 +33,7 @@ export function HighLightedCodeBlock({ content, lang, markdownItIns }) { mditLogger('error', `hljs error:`, e); } - return (
+    return (