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 = () => {
return (
<FadeIn>
<div style={{ paddingBottom: '20px' }}>
<ProCard
ghost
bodyStyle={{ height: '80vh' }}
className={'schemaTree'}
size='small'
bordered
tabs={{
activeKey: activeKey,
type: 'card',
cardProps: {
hoverable: true,
bodyStyle: {
height: parent.innerHeight - 155
},
boxShadow: true
<ProCard
ghost
bodyStyle={{ height: '80vh', overflowY: 'auto' }}
className={'schemaTree'}
size='small'
bordered
tabs={{
activeKey: activeKey,
type: 'card',
cardProps: {
hoverable: true,
bodyStyle: {
height: parent.innerHeight - 170,
overflowY: 'auto'
},
animated: true,
onChange: (key: any) => setActiveKey(key),
items: renderDataTag().filter(
(menu) =>
!!!menu.path || !!AuthorizedObject({ path: menu.path, children: menu, access })
)
}}
/>
</div>
boxShadow: true
},
animated: true,
onChange: (key: any) => setActiveKey(key),
items: renderDataTag().filter(
(menu) =>
!!!menu.path || !!AuthorizedObject({ path: menu.path, children: menu, access })
)
}}
/>
</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