mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
style: Demo Component overflow use auto (#41225)
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
This commit is contained in:
parent
af0dbbd5d3
commit
b5d3f9cd81
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user