фикс фона мобильной версии публикации
This commit is contained in:
parent
2d0ae56dc2
commit
3e791e98a8
@ -80,14 +80,14 @@ export const StartPageViewPublication = ({ setVisualStartPage }: Props) => {
|
|||||||
sx={{
|
sx={{
|
||||||
height: "100vh",
|
height: "100vh",
|
||||||
width: "100vw",
|
width: "100vw",
|
||||||
background:
|
background:
|
||||||
quiz.config.startpageType === "expanded"
|
quiz.config.startpageType === "expanded" && !isMobile
|
||||||
? quiz.config.startpage.position === "left"
|
? quiz.config.startpage.position === "left"
|
||||||
? "linear-gradient(90deg,#272626,transparent)"
|
? "linear-gradient(90deg,#272626,transparent)"
|
||||||
: quiz.config.startpage.position === "center"
|
: quiz.config.startpage.position === "center"
|
||||||
? "linear-gradient(180deg,transparent,#272626)"
|
? "linear-gradient(180deg,transparent,#272626)"
|
||||||
: "linear-gradient(270deg,#272626,transparent)"
|
: "linear-gradient(270deg,#272626,transparent)"
|
||||||
: "",
|
: theme.palette.background.default,
|
||||||
|
|
||||||
color: quiz.config.startpageType === "expanded" ? "white" : "black",
|
color: quiz.config.startpageType === "expanded" ? "white" : "black",
|
||||||
}}
|
}}
|
||||||
@ -114,7 +114,7 @@ export const StartPageViewPublication = ({ setVisualStartPage }: Props) => {
|
|||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Typography sx={{ fontSize: "14px" }}>{quiz.config.info.orgname}</Typography>
|
<Typography sx={{ fontSize: "14px", color: quiz.config.startpageType === "expanded" && !isMobile ? "white" : theme.palette.text.primary}}>{quiz.config.info.orgname}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Link mb="16px" href={quiz.config.info.site}>
|
<Link mb="16px" href={quiz.config.info.site}>
|
||||||
<Typography sx={{ fontSize: "16px", color: theme.palette.primary.main }}>
|
<Typography sx={{ fontSize: "16px", color: theme.palette.primary.main }}>
|
||||||
@ -152,7 +152,7 @@ export const StartPageViewPublication = ({ setVisualStartPage }: Props) => {
|
|||||||
overflowWrap: "break-word",
|
overflowWrap: "break-word",
|
||||||
width: "100%",
|
width: "100%",
|
||||||
textAlign: quiz.config.startpageType === "centered" ? "center" : "-moz-initial",
|
textAlign: quiz.config.startpageType === "centered" ? "center" : "-moz-initial",
|
||||||
color: quiz.config.startpageType === "expanded" ? "white" : theme.palette.text.primary
|
color: quiz.config.startpageType === "expanded" && !isMobile ? "white" : theme.palette.text.primary
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{quiz.name}
|
{quiz.name}
|
||||||
@ -225,8 +225,8 @@ export const StartPageViewPublication = ({ setVisualStartPage }: Props) => {
|
|||||||
gap: "15px"
|
gap: "15px"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NameplateLogo style={{ fontSize: "34px", color: quiz.config.startpageType === "expanded" ? "#FFFFFF" : (mode[quiz.config.theme] ? "#151515" : "#FFFFFF") }} />
|
<NameplateLogo style={{ fontSize: "34px", color: quiz.config.startpageType === "expanded" && !isMobile ? "#FFFFFF" : (mode[quiz.config.theme] ? "#151515" : "#FFFFFF") }} />
|
||||||
<Typography sx={{ fontSize: "20px", color: quiz.config.startpageType === "expanded" ? "#F5F7FF" : (mode[quiz.config.theme] ? "#4D4D4D" : "#F5F7FF"), whiteSpace: "nowrap", }}>
|
<Typography sx={{ fontSize: "20px", color: quiz.config.startpageType === "expanded" && !isMobile ? "#F5F7FF" : (mode[quiz.config.theme] ? "#4D4D4D" : "#F5F7FF"), whiteSpace: "nowrap", }}>
|
||||||
Сделано на PenaQuiz
|
Сделано на PenaQuiz
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user