diff --git a/packages/features/webhooks/components/WebhookForm.tsx b/packages/features/webhooks/components/WebhookForm.tsx index f3d1c79f98..4ed8f5754b 100644 --- a/packages/features/webhooks/components/WebhookForm.tsx +++ b/packages/features/webhooks/components/WebhookForm.tsx @@ -233,6 +233,7 @@ const WebhookForm = (props: { { value: "default", label: t("default") }, { value: "custom", label: t("custom") }, ]} + isFullWidth={true} /> {useCustomTemplate && ( @@ -248,9 +249,7 @@ const WebhookForm = (props: { )} /> -
-

{t("webhook_test")}

-

{t("test_webhook")}

+
@@ -263,7 +262,7 @@ const WebhookForm = (props: { {t("cancel")}
diff --git a/packages/features/webhooks/components/WebhookTestDisclosure.tsx b/packages/features/webhooks/components/WebhookTestDisclosure.tsx index 406d7bdbf1..9744637c32 100644 --- a/packages/features/webhooks/components/WebhookTestDisclosure.tsx +++ b/packages/features/webhooks/components/WebhookTestDisclosure.tsx @@ -16,15 +16,11 @@ export default function WebhookTestDisclosure() { }); return ( -
-
-
-

{t("webhook_response")}

- {mutation.data && ( - - {mutation.data.ok ? t("passed") : t("failed")} - - )} + <> +
+
+

{t("webhook_test")}

+

{t("test_webhook")}

-
- {!mutation.data && {t("no_data_yet")}} - {mutation.status === "success" && ( -
{JSON.stringify(mutation.data, null, 4)}
- )} +
+
+
+

{t("webhook_response")}

+ {mutation.data && ( + + {mutation.data.ok ? t("passed") : t("failed")} + + )} +
+
+
+ {!mutation.data &&

{t("no_data_yet")}

} + {mutation.status === "success" && ( +
{JSON.stringify(mutation.data, null, 4)}
+ )} +
-
+ ); }