fix: height & width of survey preview when loading (#3234)

Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
This commit is contained in:
Satyanarayan Prashar
2024-10-02 01:18:03 +05:30
committed by GitHub
parent 18719746ed
commit 316e5f15b0

View File

@@ -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" && (
<>
<p className="absolute left-0 top-0 m-2 rounded bg-slate-100 px-2 py-1 text-xs text-slate-400">