From 0ec5d53e5b770f9854f3fce2c4a02bd3a78adc16 Mon Sep 17 00:00:00 2001 From: yessenia Date: Sat, 11 Oct 2025 20:37:37 +0800 Subject: [PATCH] fix(trigger): log style --- web/app/components/base/modal/modal.tsx | 14 +++++++++----- .../subscription-list/delete-confirm.tsx | 1 + .../subscription-list/log-viewer.tsx | 17 ++++++++++++++--- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/web/app/components/base/modal/modal.tsx b/web/app/components/base/modal/modal.tsx index cbcbe31c6f..e8edc48fba 100644 --- a/web/app/components/base/modal/modal.tsx +++ b/web/app/components/base/modal/modal.tsx @@ -55,13 +55,13 @@ const Modal = ({ >
e.stopPropagation()} > -
+
{title} { subTitle && ( @@ -79,10 +79,10 @@ const Modal = ({
{ children && ( -
{children}
+
{children}
) } -
+
{footerSlot}
@@ -117,7 +117,11 @@ const Modal = ({
- {bottomSlot} + {bottomSlot && ( +
+ {bottomSlot} +
+ )}
diff --git a/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx b/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx index 54f282a90a..ced7dd7994 100644 --- a/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx +++ b/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx @@ -69,5 +69,6 @@ export const DeleteConfirm = (props: Props) => { isLoading={isDeleting} onConfirm={onConfirm} onCancel={() => onClose(false)} + maskClosable={false} /> } diff --git a/web/app/components/plugins/plugin-detail-panel/subscription-list/log-viewer.tsx b/web/app/components/plugins/plugin-detail-panel/subscription-list/log-viewer.tsx index 278b70a2ec..7c7cad69c1 100644 --- a/web/app/components/plugins/plugin-detail-panel/subscription-list/log-viewer.tsx +++ b/web/app/components/plugins/plugin-detail-panel/subscription-list/log-viewer.tsx @@ -117,15 +117,26 @@ const LogViewer = ({ logs, className }: Props) => {
{isError && ( -
-
+
+ + + + + + + + + + + +
)}