From fceaa1d190c2f3466b5612ed773ec66119569e6e Mon Sep 17 00:00:00 2001 From: M1kola Date: Wed, 1 Mar 2023 23:40:23 +0300 Subject: [PATCH] new fixes --- .../Calendar/calendarComponent.scss | 38 +++++++++++++++++++ src/components/ReportForm/reportForm.scss | 9 ++++- src/pages/ViewReport/viewReport.scss | 13 ++++++- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/components/Calendar/calendarComponent.scss b/src/components/Calendar/calendarComponent.scss index 2a774ea9..7aab544f 100644 --- a/src/components/Calendar/calendarComponent.scss +++ b/src/components/Calendar/calendarComponent.scss @@ -13,18 +13,46 @@ display: flex; justify-content: space-between; + @media (max-width: 560px) { + flex-direction: column; + row-gap: 15px; + } + &-info { display: flex; + @media (max-width: 685px) { + font-size: 7px; + } + + @media (max-width: 560px) { + font-size: 10px; + } + + @media (max-width: 560px) { + justify-content: center; + } + .calendar__hours { margin: 0 10px; line-height: 0; font-weight: 500; + display: flex; + align-items: center; } } &-switcher { display: flex; + + @media (max-width: 590px) { + font-size: 8px; + } + + @media (max-width: 560px) { + justify-content: center; + font-size: 12px; + } } h3 { @@ -74,6 +102,10 @@ font-size: 1.2em; } } + + @media (max-width: 560px) { + margin-left: 0 !important; + } } } @@ -199,6 +231,12 @@ } } +@media (max-width: 560px) { + .calendar-component { + padding-top: 10px; + } +} + //@media (max-width: 768px) { // .calendar-component__form > button { // width: 70px; diff --git a/src/components/ReportForm/reportForm.scss b/src/components/ReportForm/reportForm.scss index 226bb528..62a29881 100644 --- a/src/components/ReportForm/reportForm.scss +++ b/src/components/ReportForm/reportForm.scss @@ -158,12 +158,15 @@ text-align: left; margin-bottom: 26px; white-space: nowrap; + + @media (max-width: 450px) { + font-size: 13px; + } } } &-title { //&--description { - // margin-left: 20px; //} &--hours { @@ -233,6 +236,10 @@ margin-left: 45px; } + @media (max-width: 450px) { + margin-left: 22px; + } + .checkTask { border-color: #fc0000; } diff --git a/src/pages/ViewReport/viewReport.scss b/src/pages/ViewReport/viewReport.scss index 2dc82795..b67bc59f 100644 --- a/src/pages/ViewReport/viewReport.scss +++ b/src/pages/ViewReport/viewReport.scss @@ -64,6 +64,11 @@ height: 72px; justify-content: space-between; + @media (max-width: 540px) { + padding: 10px 15px; + height: 60px; + } + @media (max-width: 500px) { column-gap: 0; justify-content: space-between; @@ -75,9 +80,13 @@ line-height: 32px; color: #000000; - @media (max-width: 500px) { + @media (max-width: 660px) { font-size: 16px; } + + @media (max-width: 490px) { + font-size: 12px; + } } &__hours { @@ -86,7 +95,7 @@ line-height: 32px; color: #000000; - @media (max-width: 500px) { + @media (max-width: 660px) { font-size: 11px; }