Unverified Commit 7298cb9a authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Optimization] Optimization setting page overflow (#3297)

parent 3da80733
...@@ -232,32 +232,31 @@ const SettingOverView = () => { ...@@ -232,32 +232,31 @@ const SettingOverView = () => {
return ( return (
<FadeIn> <FadeIn>
<div style={{ paddingBottom: '20px' }}> <ProCard
<ProCard ghost
ghost bodyStyle={{ height: '80vh', overflowY: 'auto' }}
bodyStyle={{ height: '80vh' }} className={'schemaTree'}
className={'schemaTree'} size='small'
size='small' bordered
bordered tabs={{
tabs={{ activeKey: activeKey,
activeKey: activeKey, type: 'card',
type: 'card', cardProps: {
cardProps: { hoverable: true,
hoverable: true, bodyStyle: {
bodyStyle: { height: parent.innerHeight - 170,
height: parent.innerHeight - 155 overflowY: 'auto'
},
boxShadow: true
}, },
animated: true, boxShadow: true
onChange: (key: any) => setActiveKey(key), },
items: renderDataTag().filter( animated: true,
(menu) => onChange: (key: any) => setActiveKey(key),
!!!menu.path || !!AuthorizedObject({ path: menu.path, children: menu, access }) items: renderDataTag().filter(
) (menu) =>
}} !!!menu.path || !!AuthorizedObject({ path: menu.path, children: menu, access })
/> )
</div> }}
/>
</FadeIn> </FadeIn>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment