From 74e17b4de632adfb62c80baff15fc4d6dd6814a3 Mon Sep 17 00:00:00 2001 From: HarikrishnanD Date: Fri, 24 Oct 2025 12:04:43 +0530 Subject: [PATCH] fix(ui): prevent error message overflow in S3 Destinations modal --- .../settings/destination/handle-destinations.tsx | 2 +- apps/dokploy/components/shared/alert-block.tsx | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx b/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx index a0138b3c3..d36d53af2 100644 --- a/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx +++ b/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx @@ -217,7 +217,7 @@ export const HandleDestinations = ({ destinationId }: Props) => { {(isError || isErrorConnection) && ( - + {connectionError?.message || error?.message} )} diff --git a/apps/dokploy/components/shared/alert-block.tsx b/apps/dokploy/components/shared/alert-block.tsx index 5a6d411a9..045391b55 100644 --- a/apps/dokploy/components/shared/alert-block.tsx +++ b/apps/dokploy/components/shared/alert-block.tsx @@ -39,13 +39,19 @@ export function AlertBlock({
- {icon || } - {children} +
+ {icon || } +
+
+ + {children} + +
); }