From 316e5f15b0034861eecb024c270b082b183ec68c Mon Sep 17 00:00:00 2001 From: Satyanarayan Prashar <100068911+SatyanarayanPrashar@users.noreply.github.com> Date: Wed, 2 Oct 2024 01:18:03 +0530 Subject: [PATCH] fix: height & width of survey preview when loading (#3234) Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com> --- packages/ui/components/PreviewSurvey/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/components/PreviewSurvey/index.tsx b/packages/ui/components/PreviewSurvey/index.tsx index 59485275e5..a03f3573b5 100644 --- a/packages/ui/components/PreviewSurvey/index.tsx +++ b/packages/ui/components/PreviewSurvey/index.tsx @@ -234,7 +234,7 @@ export const PreviewSurvey = ({ : "expanded_with_fixed_positioning" : "shrink" } - className="relative flex items-center justify-center rounded-lg border border-slate-300 bg-slate-200"> + className="relative flex h-full w-[95%] items-center justify-center rounded-lg border border-slate-300 bg-slate-200"> {previewMode === "mobile" && ( <>