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
@@ -92,15 +92,15 @@ export const WorkspaceDeleteModal = ({
/>
</StyledInputContent>
<StyledButtonContent>
<Button shape="circle" onClick={onClose}>
<Button onClick={onClose} size="large">
{t['Cancel']()}
</Button>
<Button
data-testid="delete-workspace-confirm-button"
disabled={!allowDelete}
onClick={handleDelete}
size="large"
type="error"
shape="circle"
style={{ marginLeft: '24px' }}
>
{t['Delete']()}
@@ -5,7 +5,7 @@ export const StyledModalWrapper = styled('div')(() => {
position: 'relative',
padding: '0px',
width: '560px',
background: 'var(--affine-white)',
background: 'var(--affine-background-overlay-panel-color)',
borderRadius: '12px',
// height: '312px',
};