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; }