fix: 修改侧边菜单没有滑动效果 (#925)

Reviewed-on: daoyoucloud/tachybase#925
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
wjh 2024-05-08 19:04:38 +08:00 committed by sealday
parent 2a03c6bf5c
commit 070149aa50

View File

@ -301,7 +301,7 @@ export const InternalAdminLayout = () => {
</div>
</Layout.Header>
{params.name && (
<Layout.Sider theme={'light'} ref={sideMenuRef}>
<Layout.Sider theme={'light'} ref={sideMenuRef} style={{ overflow: 'auto' }}>
<header
className={css`
flex-shrink: 0;