From 2828a5ebe241e10f7aee9961a9834986b0f39cf8 Mon Sep 17 00:00:00 2001 From: ArtChaos189 Date: Mon, 18 Dec 2023 19:27:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B3=D1=80=D0=B0=D0=B4=D0=B8=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B0=D0=B5?= =?UTF-8?q?=D1=82=D1=81=D1=8F=20=D0=B2=20=D0=B2=D0=B0=D1=80=D0=B8=D0=B0?= =?UTF-8?q?=D0=BD=D1=82=D0=B5=20expanded?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ViewPublicationPage/StartPageViewPublication.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/ViewPublicationPage/StartPageViewPublication.tsx b/src/pages/ViewPublicationPage/StartPageViewPublication.tsx index 9feb7bf2..3b129a02 100644 --- a/src/pages/ViewPublicationPage/StartPageViewPublication.tsx +++ b/src/pages/ViewPublicationPage/StartPageViewPublication.tsx @@ -74,6 +74,7 @@ export const StartPageViewPublication = ({ setVisualStartPage }: Props) => { className="quiz-preview-draghandle" sx={{ height: "100vh", + width: "100vw", background: quiz.config.startpageType === "expanded" ? quiz.config.startpage.position === "left" @@ -82,6 +83,7 @@ export const StartPageViewPublication = ({ setVisualStartPage }: Props) => { ? "linear-gradient(180deg,transparent,#272626)" : "linear-gradient(270deg,#272626,transparent)" : "", + color: quiz.config.startpageType === "expanded" ? "white" : "black", }} > @@ -296,7 +298,7 @@ function QuizPreviewLayoutByType({ width: "40%", position: "relative", padding: "16px", - zIndex: 2, + zIndex: 3, display: "flex", flexDirection: "column", justifyContent: "space-between", @@ -309,11 +311,11 @@ function QuizPreviewLayoutByType({