优化下载页面样式

This commit is contained in:
yj 2024-09-05 17:50:31 +08:00
parent c659442856
commit b65cd93602
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => {
></Button>
<div className={styles.button2} onClick={() => setIsUpdateModal(false)}></div>
</div> : progress < 100 ?
<div style={{ marginTop: '20px' }}>
<div style={{ margin: '20px 0' }}>
{progress}%
<Flex gap="small" vertical>
<Progress percent={progress} showInfo={false} />
@ -75,7 +75,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => {
</div> :
<Button type="primary"
onClick={() => window.electron.onDownload('2')}
style={{ width: '100%', height: '40px', marginTop: '20px' }}
style={{ width: '100%', height: '40px', margin: '20px 0' }}
className={`m-ant-btn`}
></Button>
}