From 6fc708255c7cc2a7ecc4d3199a8e4d5269f1a2b2 Mon Sep 17 00:00:00 2001 From: Victor Batischev Date: Tue, 5 Dec 2023 15:46:25 +0300 Subject: [PATCH] report form adaptive start --- src/components/ReportForm/ReportForm.jsx | 2 +- src/components/ReportForm/reportForm.scss | 16 ++++++++-------- src/pages/PartnerSettings/partnerSettings.scss | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/ReportForm/ReportForm.jsx b/src/components/ReportForm/ReportForm.jsx index 2a6e5c52..42e2873e 100644 --- a/src/components/ReportForm/ReportForm.jsx +++ b/src/components/ReportForm/ReportForm.jsx @@ -258,7 +258,7 @@ const ReportForm = () => {

+

- Добавить ещё + Добавить задачу diff --git a/src/components/ReportForm/reportForm.scss b/src/components/ReportForm/reportForm.scss index 1c78390a..aedce9e4 100644 --- a/src/components/ReportForm/reportForm.scss +++ b/src/components/ReportForm/reportForm.scss @@ -54,7 +54,6 @@ font-weight: 700; font-style: normal; letter-spacing: normal; - line-height: 48.74px; text-align: left; @media (max-width: 555px) { @@ -75,7 +74,7 @@ @media (max-width: 555px) { margin-top: 25px; - margin-bottom: 15px; + margin-bottom: 10px; } } } @@ -115,12 +114,11 @@ font-weight: 700; font-style: normal; letter-spacing: normal; - line-height: 48.74px; width: 12px; } &-list { - margin-top: 40px; + margin-top: 30px; display: flex; align-items: center; @@ -146,7 +144,7 @@ &-header { display: flex; justify-content: flex-start; - margin-top: 40px; + margin-top: 20px; margin-left: 50px; p { @@ -156,7 +154,7 @@ letter-spacing: normal; line-height: normal; text-align: left; - margin-bottom: 26px; + margin-bottom: 10px; white-space: nowrap; @media (max-width: 450px) { @@ -276,6 +274,7 @@ margin-left: 28px; display: flex; align-items: center; + justify-content: center; .addMore { display: flex; @@ -285,9 +284,9 @@ width: 38px; height: 38px; background: #e8e8e8; - margin-bottom: 0; border-radius: 50px; font-size: 32px; + cursor: pointer; } span { @@ -297,7 +296,8 @@ letter-spacing: normal; line-height: normal; text-align: left; - margin-left: 20px; + margin-left: 10px; + cursor: pointer; } } diff --git a/src/pages/PartnerSettings/partnerSettings.scss b/src/pages/PartnerSettings/partnerSettings.scss index 21b02708..d748af63 100644 --- a/src/pages/PartnerSettings/partnerSettings.scss +++ b/src/pages/PartnerSettings/partnerSettings.scss @@ -244,6 +244,7 @@ &__report { margin-top: 55px; + margin-bottom: 10px; } &__logo {