diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx index 4edb6f0..a21f0c3 100644 --- a/lib/components/ViewPublicationPage/ResultForm.tsx +++ b/lib/components/ViewPublicationPage/ResultForm.tsx @@ -32,7 +32,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => { alignItems: "center", justifyContent: "space-between", height: "100%", - width: "100vw", + width: "100%", pt: "28px", overflow: "auto", }} diff --git a/lib/components/ViewPublicationPage/StartPageViewPublication.tsx b/lib/components/ViewPublicationPage/StartPageViewPublication.tsx index 6309468..7dcd491 100644 --- a/lib/components/ViewPublicationPage/StartPageViewPublication.tsx +++ b/lib/components/ViewPublicationPage/StartPageViewPublication.tsx @@ -21,7 +21,7 @@ export const StartPageViewPublication = () => { const handleCopyNumber = () => { navigator.clipboard.writeText(settings.cfg.info.phonenumber); }; - console.log(settings.cfg.startpage.background.type) + console.log(settings.cfg.startpage.background.type); const background = settings.cfg.startpage.background.type === "image" ? ( @@ -45,9 +45,7 @@ export const StartPageViewPublication = () => { width: settings.cfg.startpageType === "centered" ? "550px" - : settings.cfg.startpageType === "expanded" - ? "100vw" - : "100%", + : "100%", height: settings.cfg.startpageType === "centered" ? "275px" @@ -345,7 +343,7 @@ function QuizPreviewLayoutByType({ ) : ( { containerSX={{ width: "100%", height: "calc(100% - 270px)", - maxHeight: "80vh", + maxHeight: "80%", objectFit: "contain", }} videoUrl={currentQuestion.content.video}