From b5d3f9cd81c6f1b989f5e44e46b8dcae8f74a88d Mon Sep 17 00:00:00 2001 From: MARK <50320229+MARKX97@users.noreply.github.com> Date: Thu, 16 Mar 2023 20:13:13 +0800 Subject: [PATCH] style: Demo Component overflow use auto (#41225) Co-authored-by: xiechensheng --- .dumi/theme/common/styles/Demo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dumi/theme/common/styles/Demo.tsx b/.dumi/theme/common/styles/Demo.tsx index 25f352b44c..b02bcf5865 100644 --- a/.dumi/theme/common/styles/Demo.tsx +++ b/.dumi/theme/common/styles/Demo.tsx @@ -38,7 +38,7 @@ const GlobalDemoStyles: React.FC = () => { } .code-box-demo { - overflow: scroll; + overflow: auto; background-color: ${token.colorBgContainer}; border-radius: ${token.borderRadius}px ${token.borderRadius}px 0 0; }