From 9f3a84b27f23fc41e5caca0265f1d41fa80e34e1 Mon Sep 17 00:00:00 2001 From: Ifraim Solomonov Date: Fri, 1 Mar 2024 11:04:48 +0300 Subject: [PATCH 1/3] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=BA=D0=BD?= =?UTF-8?q?=D0=BE=D0=BF=D0=BA=D0=B8=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA?= =?UTF-8?q?=D0=BD=D0=BE=D0=B9=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ContactForm/ContactForm.styles.scss | 11 ++++++++++- src/components/Field/Field.styles.scss | 9 --------- src/pages/Root/Root.jsx | 1 - 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/components/ContactForm/ContactForm.styles.scss b/src/components/ContactForm/ContactForm.styles.scss index 9ab5580..0dd0134 100644 --- a/src/components/ContactForm/ContactForm.styles.scss +++ b/src/components/ContactForm/ContactForm.styles.scss @@ -17,6 +17,15 @@ .inputs { display: flex; flex-direction: column; - gap: 16px; + gap: 16px; + + .submit { + width: 100%; + cursor: pointer; + + padding: 12px; + font-size: 18px; + line-height: normal; + } } } \ No newline at end of file diff --git a/src/components/Field/Field.styles.scss b/src/components/Field/Field.styles.scss index 63c4d6f..894a3de 100644 --- a/src/components/Field/Field.styles.scss +++ b/src/components/Field/Field.styles.scss @@ -44,13 +44,4 @@ .file-input input:focus + .upload-file-btn { outline: -webkit-focus-ring-color auto 1px; -} - -.submit { - width: 100%; - cursor: pointer; - - padding: 12px; - font-size: 18px; - line-height: normal; } \ No newline at end of file diff --git a/src/pages/Root/Root.jsx b/src/pages/Root/Root.jsx index fb08d65..f3d0cc9 100755 --- a/src/pages/Root/Root.jsx +++ b/src/pages/Root/Root.jsx @@ -2,7 +2,6 @@ import { Outlet, useLoaderData } from "react-router-dom"; import { getContacts } from "../../api"; import Navbar from '../../components/Navbar'; -import UsersWP from "../../components/UsersWP"; import Footer from "../../components/Footer"; import './Root.styles.scss'; From 51bac89c4b38154c1da074b0fd81b6e87ec23a29 Mon Sep 17 00:00:00 2001 From: Ifraim Solomonov Date: Fri, 1 Mar 2024 11:05:52 +0300 Subject: [PATCH 2/3] =?UTF-8?q?=D0=A3=D0=BC=D0=B5=D0=BD=D1=8C=D1=88=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=84=D1=83=D1=82=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer/Footer.styles.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Footer/Footer.styles.scss b/src/components/Footer/Footer.styles.scss index a24ea08..71bd946 100755 --- a/src/components/Footer/Footer.styles.scss +++ b/src/components/Footer/Footer.styles.scss @@ -5,7 +5,7 @@ justify-content: space-between; align-items: center; - height: 160px; + height: 150px; padding: 0 10%; background: $bg-footer; @@ -23,7 +23,7 @@ color: $text-secondary; font-size: 18px; font-weight: 400; - line-height: 22px; + line-height: 20px; } .links { From 214c59af47a5f5e44a2a764a68b53fef3efc6f5e Mon Sep 17 00:00:00 2001 From: Ifraim Solomonov Date: Fri, 1 Mar 2024 12:39:04 +0300 Subject: [PATCH 3/3] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=81=D1=82?= =?UTF-8?q?=D0=B8=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Navbar/Navbar.styles.scss | 4 ++-- src/pages/Root/Root.styles.scss | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Navbar/Navbar.styles.scss b/src/components/Navbar/Navbar.styles.scss index 22c9a02..5c1bd01 100755 --- a/src/components/Navbar/Navbar.styles.scss +++ b/src/components/Navbar/Navbar.styles.scss @@ -7,8 +7,8 @@ height: 60px; max-height: 80px; padding: 1em 10%; - background: $bg-secondary; - + background: transparent; + z-index: 1; display: flex; justify-content: space-between; diff --git a/src/pages/Root/Root.styles.scss b/src/pages/Root/Root.styles.scss index d91778b..2ca7c72 100755 --- a/src/pages/Root/Root.styles.scss +++ b/src/pages/Root/Root.styles.scss @@ -1,10 +1,9 @@ @import "../../assets/styles/theme.scss"; #page { - margin-top: calc(60px + 2em); .header { - height: calc(100vh - (60px + 2em)); + height: 100vh; padding: 0 10%; display: flex;