Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions app/pages/project/instances/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ export const useMakeInstanceActions = (
}),
modalTitle: 'Confirm stop instance',
modalContent: (
<p>
Are you sure you want to stop <HL>{instance.name}</HL>? Stopped instances
retain attached disks and IP addresses, but allocated CPU and memory are
freed.
</p>
<div className="space-y-2">
<p>
Are you sure you want to stop <HL>{instance.name}</HL>?
</p>
<p>
Stopped instances retain attached disks and IP addresses, but allocated
CPU and memory are freed.
</p>
</div>
),
errorTitle: `Error stopping ${instance.name}`,
})
Expand Down
7 changes: 4 additions & 3 deletions app/stores/confirm-delete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ export const confirmDelete =
actionConfig: {
doAction: doDelete,
modalContent: (
<p>
Are you sure you want to delete {displayLabel}? {extraContent}
</p>
<div className="space-y-2">
<p>Are you sure you want to delete {displayLabel}?</p>
{extraContent ? <p>{extraContent}</p> : null}
</div>
),
errorTitle: 'Could not delete resource',
modalTitle,
Expand Down
Loading