Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Small style fix

Joshen Limd4092e803dce
diff --git a/studio/components/interfaces/Billing/PaymentSummaryPanel/ConfirmPaymentModal.tsx b/studio/components/interfaces/Billing/PaymentSummaryPanel/ConfirmPaymentModal.tsx
index c9175ae8fd8..978b141a4d4 100644
--- a/studio/components/interfaces/Billing/PaymentSummaryPanel/ConfirmPaymentModal.tsx
+++ b/studio/components/interfaces/Billing/PaymentSummaryPanel/ConfirmPaymentModal.tsx
@@ -32,26 +32,28 @@ const ConfirmPaymentModal: FC<Props> = ({
>
<div className="space-y-4 py-4">
<Modal.Content>
- {isChangingInstanceSize && (
- <Alert
- withIcon
- variant="warning"
- title="Your project will need to be restarted for size changes to take place"
- >
- Upon confirmation, your project will be restarted to change your instance size. This
- will take up to 2 minutes in which your project will be unavailable during the time.
- </Alert>
- )}
- {isDisablingPITR && (
- <Alert
- withIcon
- variant="warning"
- title="All available PITR back ups for your project will be removed and are non-recoverable"
- >
- As such, your project will not have past PITR backups if you were to re-enable PITR
- for your project.
- </Alert>
- )}
+ <div className="space-y-2">
+ {isChangingInstanceSize && (
+ <Alert
+ withIcon
+ variant="warning"
+ title="Your project will need to be restarted for size changes to take place"
+ >
+ Upon confirmation, your project will be restarted to change your instance size. This
+ will take up to 2 minutes in which your project will be unavailable during the time.
+ </Alert>
+ )}
+ {isDisablingPITR && (
+ <Alert
+ withIcon
+ variant="warning"
+ title="All available PITR back ups for your project will be removed and are non-recoverable"
+ >
+ As such, your project will not have past PITR backups if you were to re-enable PITR
+ for your project.
+ </Alert>
+ )}
+ </div>
</Modal.Content>
<Modal.Content>
<p className="text-sm text-scale-1200">