From c410710dc93e7fdc62684360f18512717eed32a3 Mon Sep 17 00:00:00 2001 From: Shahar Glazner Date: Wed, 10 Apr 2024 09:44:24 +0300 Subject: [PATCH] feat: add button (#1083) --- keep-ui/app/alerts/ViewAlertModal.tsx | 30 ++++++++++++++++----------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/keep-ui/app/alerts/ViewAlertModal.tsx b/keep-ui/app/alerts/ViewAlertModal.tsx index a04adb0d1..dfad0b6ba 100644 --- a/keep-ui/app/alerts/ViewAlertModal.tsx +++ b/keep-ui/app/alerts/ViewAlertModal.tsx @@ -24,17 +24,23 @@ export const ViewAlertModal: React.FC = ({ alert, handleClo return ( -
-

Alert Details

- -
- {alert && ( -
-          {JSON.stringify(alert, null, 2)}
-        
- )} -
+
+

Alert Details

+
{/* Adjust gap as needed */} + + +
+
+ {alert && ( +
+      {JSON.stringify(alert, null, 2)}
+    
+ )} + + ); };