fix: bring back the lost WorkspaceDeleteModal style (#3434)

This commit is contained in:
JimmFly
2023-07-28 12:32:46 +08:00
committed by GitHub
parent 0e1f712dcc
commit 68755f4303
2 changed files with 3 additions and 3 deletions

View File

@@ -92,15 +92,15 @@ export const WorkspaceDeleteModal = ({
/> />
</StyledInputContent> </StyledInputContent>
<StyledButtonContent> <StyledButtonContent>
<Button shape="circle" onClick={onClose}> <Button onClick={onClose} size="large">
{t['Cancel']()} {t['Cancel']()}
</Button> </Button>
<Button <Button
data-testid="delete-workspace-confirm-button" data-testid="delete-workspace-confirm-button"
disabled={!allowDelete} disabled={!allowDelete}
onClick={handleDelete} onClick={handleDelete}
size="large"
type="error" type="error"
shape="circle"
style={{ marginLeft: '24px' }} style={{ marginLeft: '24px' }}
> >
{t['Delete']()} {t['Delete']()}

View File

@@ -5,7 +5,7 @@ export const StyledModalWrapper = styled('div')(() => {
position: 'relative', position: 'relative',
padding: '0px', padding: '0px',
width: '560px', width: '560px',
background: 'var(--affine-white)', background: 'var(--affine-background-overlay-panel-color)',
borderRadius: '12px', borderRadius: '12px',
// height: '312px', // height: '312px',
}; };