mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 16:26:51 +08:00
### What problem does this PR solve? Feat: Make the scroll bar of the DatasetSettings page appear inside #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,20 +1,24 @@
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import AdvancedSettingForm from './advanced-setting-form';
|
||||
import BasicSettingForm from './basic-setting-form';
|
||||
|
||||
export default function DatasetSettings() {
|
||||
return (
|
||||
<section className="flex flex-col p-8 overflow-auto h-[80vh]">
|
||||
<div className="text-3xl font-bold mb-6">Basic settings</div>
|
||||
<Card className="border-0 p-6 mb-8 bg-colors-background-inverse-weak">
|
||||
<div className="w-2/5">
|
||||
<BasicSettingForm></BasicSettingForm>
|
||||
</div>
|
||||
<section className="p-8 overflow-y-scroll max-h-[90vh]">
|
||||
<div className="text-3xl font-bold pb-6">Basic settings</div>
|
||||
<Card className="border-0 p-6 bg-colors-background-inverse-weak">
|
||||
<CardContent>
|
||||
<div className="w-2/5">
|
||||
<BasicSettingForm></BasicSettingForm>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
<div className="text-3xl font-bold mb-6">Advanced settings</div>
|
||||
<Card className="border-0 p-6 mb-8 bg-colors-background-inverse-weak">
|
||||
<AdvancedSettingForm></AdvancedSettingForm>
|
||||
<div className="text-3xl font-bold pb-6 pt-8">Advanced settings</div>
|
||||
<Card className="border-0 p-6 bg-colors-background-inverse-weak">
|
||||
<CardContent>
|
||||
<AdvancedSettingForm></AdvancedSettingForm>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user