Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (webhooks): Fix body template display in dark mode

Rostislav Dugin07d650a54976
diff --git a/frontend/src/features/notifiers/ui/show/notifier/ShowWebhookNotifierComponent.tsx b/frontend/src/features/notifiers/ui/show/notifier/ShowWebhookNotifierComponent.tsx
index b3a3b0e1..ce53a112 100644
--- a/frontend/src/features/notifiers/ui/show/notifier/ShowWebhookNotifierComponent.tsx
+++ b/frontend/src/features/notifiers/ui/show/notifier/ShowWebhookNotifierComponent.tsx
@@ -39,8 +39,8 @@ export function ShowWebhookNotifierComponent({ notifier }: Props) {
{notifier?.webhookNotifier?.webhookMethod === WebhookMethod.POST &&
notifier?.webhookNotifier?.bodyTemplate && (
<div className="mt-1 mb-1 flex items-start">
- <div className="min-w-[110px]">Body Template</div>
- <div className="max-w-[350px] rounded bg-gray-50 p-2 font-mono text-xs whitespace-pre-wrap">
+ <div className="min-w-[110px]">Body template</div>
+ <div className="max-w-[350px] rounded bg-gray-50 p-2 font-mono text-xs whitespace-pre-wrap dark:bg-gray-700">
{notifier.webhookNotifier.bodyTemplate}
</div>
</div>