Skip to content

Commit 07730bf

Browse files
committed
spacing tweaks
1 parent c48dbd1 commit 07730bf

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

site/src/components/Dialogs/DeleteDialog/DeleteDialog.tsx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import TextField from "@mui/material/TextField";
22
import { type Interpolation, type Theme } from "@emotion/react";
33
import { type FC, type FormEvent, useId, useState } from "react";
4+
import { Stack } from "../../Stack/Stack";
45
import { ConfirmDialog } from "../ConfirmDialog/ConfirmDialog";
56

67
export interface DeleteDialogProps {
@@ -61,17 +62,17 @@ export const DeleteDialog: FC<DeleteDialogProps> = ({
6162
confirmText={confirmText}
6263
description={
6364
<>
64-
<p>
65-
{verb ?? "Deleting"} this {entity} is irreversible!
66-
</p>
65+
<Stack spacing={1.5}>
66+
<p>
67+
{verb ?? "Deleting"} this {entity} is irreversible!
68+
</p>
6769

68-
{Boolean(info) && <div css={styles.callout}>{info}</div>}
70+
{Boolean(info) && <div css={styles.callout}>{info}</div>}
6971

70-
<p>Are you sure you want to proceed?</p>
71-
72-
<p>
73-
Type <strong>{name}</strong> below to confirm.
74-
</p>
72+
<p>
73+
Type <strong>{name}</strong> below to confirm.
74+
</p>
75+
</Stack>
7576

7677
<form onSubmit={onSubmit}>
7778
<TextField

0 commit comments

Comments
 (0)