diff --git a/lib/assets/icons/ContactFormIcon/AddressIcon.tsx b/lib/assets/icons/ContactFormIcon/AddressIcon.tsx
index 9918ee4..66ba584 100644
--- a/lib/assets/icons/ContactFormIcon/AddressIcon.tsx
+++ b/lib/assets/icons/ContactFormIcon/AddressIcon.tsx
@@ -2,17 +2,23 @@ import { Box } from "@mui/material";
interface Props {
color: string;
+ backgroundColor: string
}
-export default function AddressIcon({ color }: Props) {
+export default function AddressIcon({ color, backgroundColor }: Props) {
return (
{
justifyContent: "center",
flexDirection: "column",
backgroundColor: theme.palette.background.default,
- p: "30px",
+ p: "0px 20px 30px 20px",
}}
>
setName(target.value)}
id={name}
title={FC["name"].innerText || "Введите имя"}
- desc={FC["name"].text || "имя"}
+ desc={FC["name"].text || "Имя"}
Icon={NameIcon}
/>
);
@@ -366,7 +378,7 @@ const Inputs = ({
onChange={({ target }) => setPhone(target.value)}
id={phone}
title={FC["phone"].innerText || "Введите номер телефона"}
- desc={FC["phone"].text || "номер телефона"}
+ desc={FC["phone"].text || "Номер телефона"}
Icon={PhoneIcon}
/>
);
@@ -375,7 +387,7 @@ const Inputs = ({
onChange={({ target }) => setText(target.value)}
id={text}
title={FC["text"].text || "Введите фамилию"}
- desc={FC["text"].innerText || "фамилию"}
+ desc={FC["text"].innerText || "Фамилия"}
Icon={TextIcon}
/>
);
@@ -384,7 +396,7 @@ const Inputs = ({
onChange={({ target }) => setAdress(target.value)}
id={adress}
title={FC["address"].innerText || "Введите адрес"}
- desc={FC["address"].text || "адрес"}
+ desc={FC["address"].text || "Адрес"}
Icon={AddressIcon}
/>
);
@@ -414,12 +426,12 @@ const CustomInput = ({ title, desc, Icon, onChange, id }: {
id: string;
title: string;
desc: string;
- Icon: FC<{ color: string; }>;
+ Icon: FC<{ color: string; backgroundColor: string }>;
onChange: TextFieldProps["onChange"];
}) => {
const theme = useTheme();
const isMobile = useRootContainerSize() < 600;
-
+ const { settings } = useQuizData();
return (
@@ -430,15 +442,21 @@ const CustomInput = ({ title, desc, Icon, onChange, id }: {
onChange={onChange}
sx={{
width: isMobile ? "300px" : "350px",
+ backgroundColor: theme.palette.background.default,
"& .MuiOutlinedInput-notchedOutline": {
- borderColor: "#9A9AAF"
+ borderColor: "#9A9AAF80",
+ borderRadius: "12px"
+ },
+ "& .MuiInputBase-root": {
+ paddingLeft: 0
}
+
}}
placeholder={desc}
InputProps={{
startAdornment: (
-
+
),
}}
diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx
index d28cf83..1eae9e7 100644
--- a/lib/components/ViewPublicationPage/ResultForm.tsx
+++ b/lib/components/ViewPublicationPage/ResultForm.tsx
@@ -170,12 +170,13 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {