ФК на мобилке в окошке настроек полей помещаются все имена полей, + фикс тексареа

This commit is contained in:
Nastya 2024-01-05 08:21:39 +03:00
parent 71ed0bc529
commit 0f8b448a65
3 changed files with 15 additions and 8 deletions

@ -190,7 +190,10 @@ function ContactFormParent({ outerContainerSx: sx, children }: Props) {
rows={8} rows={8}
placeholder="Дополнительный текст формы" placeholder="Дополнительный текст формы"
sxForm={{ sxForm={{
height: "287px", height: "197px",
}}
sx={{
height: "197px"
}} }}
maxLength={300} maxLength={300}
/> />

@ -122,6 +122,7 @@ export default function WindowNewField({ drawerState, closeDrawer }: Props) {
padding: "20px", padding: "20px",
display: "flex", display: "flex",
gap: "10px", gap: "10px",
flexWrap: "wrap"
}} }}
> >
{buttonSetting.flatMap((e, i) => {buttonSetting.flatMap((e, i) =>

@ -93,13 +93,16 @@ export const ResultForm = ({
</Typography> </Typography>
)} )}
{resultQuestion.title &&
<Typography <Typography
sx={{ sx={{
m: "20px 0", m: "20px 0",
}} }}
> >
{resultQuestion.title || "Форма результатов"} {resultQuestion.title}
</Typography> </Typography>
}
{resultQuestion.content.text !== "" && {resultQuestion.content.text !== "" &&
resultQuestion.content.text !== " " && ( resultQuestion.content.text !== " " && (