From 912030c9a1b2b26f8b1bcb8a3dbdda7eb1be5282 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Mon, 26 Aug 2024 09:37:04 +0800 Subject: [PATCH] update style --- .../base/features/new-feature-panel/dialog-wrapper.tsx | 6 ++++-- .../components/base/features/new-feature-panel/index.tsx | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/app/components/base/features/new-feature-panel/dialog-wrapper.tsx b/web/app/components/base/features/new-feature-panel/dialog-wrapper.tsx index f076c186c5..e03c05b5af 100644 --- a/web/app/components/base/features/new-feature-panel/dialog-wrapper.tsx +++ b/web/app/components/base/features/new-feature-panel/dialog-wrapper.tsx @@ -8,6 +8,7 @@ type DialogProps = { children: ReactNode show: boolean onClose?: () => void + inWorkflow?: boolean } const DialogWrapper = ({ @@ -15,6 +16,7 @@ const DialogWrapper = ({ children, show, onClose, + inWorkflow = true, }: DialogProps) => { const close = useCallback(() => onClose?.(), [onClose]) return ( @@ -33,7 +35,7 @@ const DialogWrapper = ({
-
+
- + {children} diff --git a/web/app/components/base/features/new-feature-panel/index.tsx b/web/app/components/base/features/new-feature-panel/index.tsx index fb35a45c8b..bc807f8be4 100644 --- a/web/app/components/base/features/new-feature-panel/index.tsx +++ b/web/app/components/base/features/new-feature-panel/index.tsx @@ -14,11 +14,10 @@ const NewFeaturePanel = ({ show, onClose }: Props) => { return ( -
+
{t('workflow.common.features')}