fix: 修改侧边栏滑动超出后出现 (#966)

Reviewed-on: daoyoucloud/tachybase#966
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
wjh 2024-05-10 12:31:05 +08:00 committed by sealday
parent 2b8604302b
commit 19a4d15160

View File

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