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

[Optimization] Optimization setting page overflow (#3297)

parent 3da80733
...@@ -232,10 +232,9 @@ const SettingOverView = () => { ...@@ -232,10 +232,9 @@ const SettingOverView = () => {
return ( return (
<FadeIn> <FadeIn>
<div style={{ paddingBottom: '20px' }}>
<ProCard <ProCard
ghost ghost
bodyStyle={{ height: '80vh' }} bodyStyle={{ height: '80vh', overflowY: 'auto' }}
className={'schemaTree'} className={'schemaTree'}
size='small' size='small'
bordered bordered
...@@ -245,7 +244,8 @@ const SettingOverView = () => { ...@@ -245,7 +244,8 @@ const SettingOverView = () => {
cardProps: { cardProps: {
hoverable: true, hoverable: true,
bodyStyle: { bodyStyle: {
height: parent.innerHeight - 155 height: parent.innerHeight - 170,
overflowY: 'auto'
}, },
boxShadow: true boxShadow: true
}, },
...@@ -257,7 +257,6 @@ const SettingOverView = () => { ...@@ -257,7 +257,6 @@ const SettingOverView = () => {
) )
}} }}
/> />
</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