From bda34e38276351911fc22f5ecb340f9c5a47230f Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Thu, 20 Apr 2023 14:59:34 +0200 Subject: [PATCH] :bug: (viewer) Remove default white background when it is set to none Closes #469 --- apps/viewer/src/components/TypebotPageV3.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/viewer/src/components/TypebotPageV3.tsx b/apps/viewer/src/components/TypebotPageV3.tsx index df40d03b5..4e54c238f 100644 --- a/apps/viewer/src/components/TypebotPageV3.tsx +++ b/apps/viewer/src/components/TypebotPageV3.tsx @@ -31,7 +31,9 @@ export const TypebotPageV3 = ({ url, typebot }: TypebotPageProps) => { backgroundColor: background?.type === BackgroundType.COLOR ? background?.content - : 'white', + : background?.type === BackgroundType.NONE + ? undefined + : '#fff', }} > {typebot && (