From c54c93b23edab0ec9e821aa5bafa572985df032c Mon Sep 17 00:00:00 2001 From: rdmclin2 Date: Mon, 12 Feb 2024 14:50:08 +0800 Subject: [PATCH] :bug: fix: markdown scroll --- src/Markdown/style.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Markdown/style.ts b/src/Markdown/style.ts index ad061221..1e499471 100644 --- a/src/Markdown/style.ts +++ b/src/Markdown/style.ts @@ -185,7 +185,7 @@ export const useStyles = createStyles(({ css, cx, token, prefixCls }) => { ), highlighter: css` max-height: 400px; - overflow: scroll; + overflow: auto; `, header: cx( `${prefix}-header`,