fix login, report textarea

This commit is contained in:
Victor Batischev
2023-12-19 17:31:27 +03:00
parent d6c268766b
commit 05f966b877
6 changed files with 170 additions and 791 deletions

View File

@ -192,7 +192,7 @@ const ReportForm = () => {
>
<div className="report-form__task-number">{index + 1}.</div>
<div className="report-form__task-input report-form__task-input--description">
<input
<textarea
value={inputs[index].task}
className={
!input.task && reportSuccess === "Заполните задачи"

View File

@ -69,8 +69,8 @@
letter-spacing: normal;
line-height: 30px;
text-align: left;
margin-top: 52px;
margin-bottom: 35px;
margin-top: 30px;
margin-bottom: 10px;
@media (max-width: 555px) {
margin-top: 25px;
@ -80,7 +80,7 @@
}
&__block-img {
width: 280px;
width: 230px;
height: 42px;
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
@ -107,18 +107,15 @@
&__task {
&-number {
height: 14px;
color: #282828;
font-family: "GT Eesti Pro Display";
font-size: 20px;
font-weight: 700;
font-style: normal;
letter-spacing: normal;
width: 12px;
}
&-list {
margin-top: 30px;
margin-top: 20px;
display: flex;
align-items: center;
@ -194,8 +191,9 @@
&-form {
display: flex;
align-items: center;
margin-left: 20px;
margin-bottom: 28px;
margin-bottom: 15px;
}
&-input {
@ -208,9 +206,9 @@
border-color: #fc0000;
}
input {
textarea {
width: 460px;
height: 42px;
height: 84px;
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
border: 1px solid #c4c4c4;
@ -244,7 +242,7 @@
}
input {
width: 141px;
width: 80px;
height: 42px;
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
@ -410,7 +408,7 @@
display: flex;
justify-content: space-between;
margin-left: 14px;
margin-bottom: 28px;
margin-bottom: 14px;
span {
font-family: "GT Eesti Pro Display";