From 3c22cc38fa74185f183327f80fdbaf2aaefffa20 Mon Sep 17 00:00:00 2001 From: Nastya Date: Mon, 12 Feb 2024 20:43:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=B1=D0=B0=D0=BB=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=D0=BE=D0=B9=20=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC?= =?UTF-8?q?=D1=8B=20=D0=BD=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B8?= =?UTF-8?q?=D1=82=D1=81=D1=8F=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B2=20=D1=80=D0=B5=D0=B7=D1=83=D0=BB=D1=8C=D1=82=D0=B0=D1=82?= =?UTF-8?q?=D0=B5=20before?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ViewPublicationPage/ResultForm.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/ViewPublicationPage/ResultForm.tsx b/src/pages/ViewPublicationPage/ResultForm.tsx index 1f4b153..d0f6f40 100644 --- a/src/pages/ViewPublicationPage/ResultForm.tsx +++ b/src/pages/ViewPublicationPage/ResultForm.tsx @@ -132,6 +132,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => { mt: "15px", gap: "10px", textDecoration: "none", + mb: "5px" }} > { display: "flex", justifyContent: "center", alignItems: "center", - p: settings.cfg.resultInfo.showResultForm === "before" || + p: + ( + settings.cfg.resultInfo.showResultForm === "before" && + !Boolean(settings.cfg.score) + ) || ( settings.cfg.resultInfo.showResultForm === "after" && resultQuestion.content.redirect - ) ? "20px" : "0", + ) + ? "20px" : "0", }} > - {settings.cfg.resultInfo.showResultForm === "before" && ( + {settings.cfg.resultInfo.showResultForm === "before" && !Boolean(settings.cfg.score) && (