From 55f4ea9a492af53531d551d508c93be0e20702ee Mon Sep 17 00:00:00 2001 From: nflnkr <105123049+nflnkr@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:11:08 +0300 Subject: [PATCH] =?UTF-8?q?Revert=20"=D0=B4=D0=BB=D1=8F=20=D0=B1=D0=B0?= =?UTF-8?q?=D0=BB=D0=BB=D0=BE=D0=B2=D0=BE=D0=B9=20=D1=81=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=B5=D0=BC=D1=8B=20=D0=BD=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D0=B8=D1=82=D1=81=D1=8F=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B2=20=D1=80=D0=B5=D0=B7=D1=83=D0=BB=D1=8C=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D0=B5=20before"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3c22cc38fa74185f183327f80fdbaf2aaefffa20. --- src/pages/ViewPublicationPage/ResultForm.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/pages/ViewPublicationPage/ResultForm.tsx b/src/pages/ViewPublicationPage/ResultForm.tsx index d0f6f40..1f4b153 100644 --- a/src/pages/ViewPublicationPage/ResultForm.tsx +++ b/src/pages/ViewPublicationPage/ResultForm.tsx @@ -132,7 +132,6 @@ 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" && - !Boolean(settings.cfg.score) - ) || + p: settings.cfg.resultInfo.showResultForm === "before" || ( settings.cfg.resultInfo.showResultForm === "after" && resultQuestion.content.redirect - ) - ? "20px" : "0", + ) ? "20px" : "0", }} > - {settings.cfg.resultInfo.showResultForm === "before" && !Boolean(settings.cfg.score) && ( + {settings.cfg.resultInfo.showResultForm === "before" && (