Commit 5bad3999 by zhaochengxiang

bug fix

parent 2849f097
......@@ -16,7 +16,7 @@ const FC = (props) => {
visible={visible}
footer={null}
width='80%'
bodyStyle={{ padding: '15px', overflowX: 'auto', maxHeight: '80vh' }}
bodyStyle={{ padding: '15px', overflowX: 'auto', height: '80vh' }}
title='生成ALTER'
centered destroyOnClose
onCancel={() => { close() }}
......@@ -147,7 +147,7 @@ export const Basic = React.forwardRef(function ({ id, versions, defaultBasicVers
</Form>
<div className='mt-5'>
<Spin spinning={loading}>
<Input.TextArea value={ddl} autoSize={{minRows: 4,maxRows: 20}} />
<Input.TextArea value={ddl} style={{ height: 'calc(80vh - 90px)', resize: 'none' }} />
</Spin>
</div>
</div>
......
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