fix: bring back the lost WorkspaceDeleteModal style (#3434)
This commit is contained in:
@@ -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']()}
|
||||||
|
|||||||
@@ -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',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user