mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-04 09:35:06 +08:00
### What problem does this PR solve? Fix: Fixed the issue where the model configuration page could not be scrolled #9572 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import { Flex } from 'antd';
|
||||
import { Outlet } from 'umi';
|
||||
import SideBar from './sidebar';
|
||||
|
||||
@ -22,7 +21,7 @@ const UserSetting = () => {
|
||||
const { navigateToHome } = useNavigatePage();
|
||||
|
||||
return (
|
||||
<section>
|
||||
<section className="flex flex-col h-full">
|
||||
<PageHeader>
|
||||
<Breadcrumb>
|
||||
<BreadcrumbList>
|
||||
@ -38,12 +37,14 @@ const UserSetting = () => {
|
||||
</BreadcrumbList>
|
||||
</Breadcrumb>
|
||||
</PageHeader>
|
||||
<Flex className={cn(styles.settingWrapper, '-translate-y-6')}>
|
||||
<div
|
||||
className={cn(styles.settingWrapper, 'overflow-auto flex flex-1 pt-4')}
|
||||
>
|
||||
<SideBar></SideBar>
|
||||
<Flex flex={1} className={styles.outletWrapper}>
|
||||
<div className={cn(styles.outletWrapper, 'flex flex-1 px-8')}>
|
||||
<Outlet></Outlet>
|
||||
</Flex>
|
||||
</Flex>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user