diff --git a/lib/assets/icons/ContactFormIcon/AddressIcon.tsx b/lib/assets/icons/ContactFormIcon/AddressIcon.tsx index 66ba584..cd9abf0 100644 --- a/lib/assets/icons/ContactFormIcon/AddressIcon.tsx +++ b/lib/assets/icons/ContactFormIcon/AddressIcon.tsx @@ -9,13 +9,11 @@ export default function AddressIcon({ color, backgroundColor }: Props) { return ( { justifyContent: "center", borderRight: isMobile ? undefined : "1px solid #9A9AAF80", margin: isMobile ? 0 : "40px 0", + padding: isMobile ? "0" : "0 40px" }} > { flexDirection: "column", alignItems: "flex-start", justifyContent: "center", - padding: isMobile ? "20px 20px 0 20px" : "0 0 0 40px", + padding: isMobile ? "40px 20px 0 20px" : "0", + mt: isMobile ? 0 : isTablet ? "-180px" : "-47px", }} > { { setAdress={setAdress} /> - - { - // resultQuestion && - // settings.cfg.resultInfo.when === "after" && - - } - @@ -353,8 +334,9 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => { }} checked={ready} colorIcon={theme.palette.primary.main} + sx={{marginRight: "0"}} /> - + С  Положением об обработке персональных данных{" "} @@ -370,6 +352,28 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => {  ознакомлен + { + // resultQuestion && + // settings.cfg.resultInfo.when === "after" && + + } {show_badge && ( { display: "flex", alignItems: "center", mt: "55px", - mb: "50px", - gap: "15px", + mb: "40px", + gap: "10px", textDecoration: "none", + position: "absolute", + bottom: 0, + left: isMobile ? "28%" : undefined }} > { return ( - + {title} @@ -515,8 +522,9 @@ const CustomInput = ({ title, desc, Icon, onChange, mask }: InputProps) => { inputRef={ref} onChange={onChange} sx={{ - width: isMobile ? "300px" : "390px", + width: isMobile ? "100%" : "390px", backgroundColor: theme.palette.background.default, + fontSize: "16px", "& .MuiOutlinedInput-notchedOutline": { borderColor: "#9A9AAF80", borderRadius: "12px", @@ -524,6 +532,9 @@ const CustomInput = ({ title, desc, Icon, onChange, mask }: InputProps) => { "& .MuiInputBase-root": { paddingLeft: 0, }, + "& .MuiOutlinedInput-input": { + paddingLeft: "10px", + }, "& .MuiOutlinedInput-root": { "&:hover fieldset": { borderColor: theme.palette.primary.main, diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx index cd32dca..05c467e 100644 --- a/lib/components/ViewPublicationPage/ResultForm.tsx +++ b/lib/components/ViewPublicationPage/ResultForm.tsx @@ -75,17 +75,6 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => { mb: "7px", }} > - {settings.cfg.startpage.logo && ( - - )} { wordBreak: "break-word", }} > - {settings.cfg.info.orgname} + Ваш результат: { resultQuestion.description !== " " && ( { { { alignItems: "center", flexWrap: settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center"? "nowrap" : "wrap", gap:"30px", - mb: "7px", + mb: settings.cfg.startpageType === "centered" ? "25px" : "7px", }} > {settings.cfg.startpage.logo && @@ -163,13 +163,13 @@ export const StartPageViewPublication = () => { ? "center" : "start" : "start", - marginTop: "28px", + marginTop: settings.cfg.startpageType === "centered" ? "30px" : "5px", width:settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center" && !isMobile? "50%" : settings.cfg.startpageType === "centered" && !isMobile? "50%" : "100%", }} > { : 0, gap: "20px", alignItems: "flex-end", - justifyContent: settings.cfg.startpageType === "centered" && isMobile? "center" :"space-between", + justifyContent: settings.cfg.startpageType === "centered" || settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center" && isMobile? "center" : "space-between", width: "100%", - flexWrap: settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center"? "nowrap" :"wrap", + flexWrap: settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center" ? isMobile ? "wrap-reverse" : "nowrap" : "wrap", }} > - {settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center"&& !isMobile && quizHeaderBlock} + {settings.cfg.startpageType === "expanded" && settings.cfg.startpage.position === "center" && !isMobile && quizHeaderBlock} @@ -346,7 +346,7 @@ export const StartPageViewPublication = () => { sx={{ display: "flex", alignItems: "center", - gap: "15px", + gap: "7px", textDecoration: "none", }} > @@ -363,7 +363,7 @@ export const StartPageViewPublication = () => { />