From 7573b2d0ba0c5825f497d786cb2d28f2842a56d0 Mon Sep 17 00:00:00 2001
From: Johannes <72809645+jobenjada@users.noreply.github.com>
Date: Fri, 1 Mar 2024 11:39:39 +0100
Subject: [PATCH] fix: height issue (#2165)
---
.../[environmentId]/surveys/components/PreviewSurvey.tsx | 2 +-
apps/web/app/s/[surveyId]/page.tsx | 6 ++----
packages/surveys/src/components/general/CalEmbed.tsx | 2 +-
.../components/questions/MultipleChoiceMultiQuestion.tsx | 5 ++---
.../components/questions/MultipleChoiceSingleQuestion.tsx | 5 ++---
.../src/components/questions/PictureSelectionQuestion.tsx | 2 +-
6 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx
index 5cee0499fa..5b8f2942f1 100644
--- a/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx
+++ b/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx
@@ -216,7 +216,7 @@ export default function PreviewSurvey({
/>
) : (
-
+
+
);
diff --git a/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx b/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx
index 73f2249a30..c91850b6a3 100644
--- a/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx
+++ b/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx
@@ -7,8 +7,7 @@ import { getUpdatedTtc, useTtc } from "@/lib/ttc";
import { cn, shuffleQuestions } from "@/lib/utils";
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
-import { TResponseData } from "@formbricks/types/responses";
-import { TResponseTtc } from "@formbricks/types/responses";
+import { TResponseData, TResponseTtc } from "@formbricks/types/responses";
import type { TSurveyMultipleChoiceMultiQuestion } from "@formbricks/types/surveys";
interface MultipleChoiceMultiProps {
@@ -127,7 +126,7 @@ export default function MultipleChoiceMultiQuestion({