From c450c35baf87d9d1c1553bc81bee6a92602602f4 Mon Sep 17 00:00:00 2001 From: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com> Date: Tue, 12 Nov 2024 07:46:51 +0530 Subject: [PATCH] fix: increase card size for link surveys (#4285) Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com> Co-authored-by: Johannes --- apps/web/app/s/[surveyId]/components/LinkSurveyWrapper.tsx | 6 +++--- packages/surveys/src/components/general/Survey.tsx | 4 ++-- packages/ui/components/PreviewSurvey/index.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/app/s/[surveyId]/components/LinkSurveyWrapper.tsx b/apps/web/app/s/[surveyId]/components/LinkSurveyWrapper.tsx index db5d4eeb4b..0058c8dc11 100644 --- a/apps/web/app/s/[surveyId]/components/LinkSurveyWrapper.tsx +++ b/apps/web/app/s/[surveyId]/components/LinkSurveyWrapper.tsx @@ -1,6 +1,6 @@ import { LegalFooter } from "@/app/s/[surveyId]/components/LegalFooter"; import { SurveyLoadingAnimation } from "@/app/s/[surveyId]/components/SurveyLoadingAnimation"; -import React, { useState } from "react"; +import { useState } from "react"; import { cn } from "@formbricks/lib/cn"; import { TProduct, TProductStyling } from "@formbricks/types/product"; import { TSurvey, TSurveyStyling } from "@formbricks/types/surveys/types"; @@ -61,9 +61,9 @@ export const LinkSurveyWrapper = ({
-
+
{!styling.isLogoHidden && product.logo?.url && } -
+
{isPreview && (
diff --git a/packages/surveys/src/components/general/Survey.tsx b/packages/surveys/src/components/general/Survey.tsx index 7b473fc220..2cb4cf4c5d 100644 --- a/packages/surveys/src/components/general/Survey.tsx +++ b/packages/surveys/src/components/general/Survey.tsx @@ -409,7 +409,7 @@ export const Survey = ({
@@ -430,7 +430,7 @@ export const Survey = ({ )}> {content()}
-
+
{isBrandingEnabled && } {showProgressBar && }
diff --git a/packages/ui/components/PreviewSurvey/index.tsx b/packages/ui/components/PreviewSurvey/index.tsx index 62f873c3c6..effc2039ee 100644 --- a/packages/ui/components/PreviewSurvey/index.tsx +++ b/packages/ui/components/PreviewSurvey/index.tsx @@ -385,7 +385,7 @@ export const PreviewSurvey = ({ )}
-
+