если в квизе нет картинки

This commit is contained in:
Tamara 2024-05-11 03:07:23 +03:00
parent f7dcf5d16f
commit 2016806853

@ -57,6 +57,7 @@ const StandartLayout = ({
display: "flex", display: "flex",
flexDirection: alignType === "left" ? "row" : "row-reverse", flexDirection: alignType === "left" ? "row" : "row-reverse",
padding: isTablet ? "15px" : "0", padding: isTablet ? "15px" : "0",
width: "100%",
background: settings.cfg.design && !quizThemes[settings.cfg.theme].isLight background: settings.cfg.design && !quizThemes[settings.cfg.theme].isLight
? alignType === 'left' ? alignType === 'left'
? "linear-gradient(90deg, #272626, transparent)" ? "linear-gradient(90deg, #272626, transparent)"
@ -68,7 +69,7 @@ const StandartLayout = ({
> >
<Box <Box
sx={{ sx={{
width: "40%", width: settings.cfg.startpage.background.desktop ? "40%" : undefined,
height: "100%", height: "100%",
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",