From e4b9c4aa786c3f31eb08e729e4bca5e31c9a7f2f Mon Sep 17 00:00:00 2001 From: ifraimka Date: Wed, 20 Nov 2024 17:16:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=88=D0=B8=D1=80?= =?UTF-8?q?=D0=B8=D0=BD=D1=8B=20=D0=BA=D0=B0=D0=BF=D1=87=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D0=B5=D1=91=20=D0=B2=D0=B8=D0=B4=D0=B8=D0=BC=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContactForm/ContactForm.styles.scss | 17 ++++++++++++----- src/pages/Contact/Contact.styles.scss | 14 +++++++------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/components/ContactForm/ContactForm.styles.scss b/src/components/ContactForm/ContactForm.styles.scss index 61f2826..0e7d29b 100644 --- a/src/components/ContactForm/ContactForm.styles.scss +++ b/src/components/ContactForm/ContactForm.styles.scss @@ -119,15 +119,22 @@ $color-file-button: rgb(7, 42, 200); width: 100%; cursor: pointer; +<<<<<<< Updated upstream + padding: 12px; + font-size: 18px; + line-height: normal; +======= + .submit-container { + + .submit { + width: 100%; + cursor: pointer; + padding: 12px; font-size: 18px; line-height: normal; } - - >div>div>div { - margin-left: auto; - margin-right: auto; - } +>>>>>>> Stashed changes } } } \ No newline at end of file diff --git a/src/pages/Contact/Contact.styles.scss b/src/pages/Contact/Contact.styles.scss index d719093..c099bd6 100644 --- a/src/pages/Contact/Contact.styles.scss +++ b/src/pages/Contact/Contact.styles.scss @@ -6,7 +6,7 @@ flex-wrap: wrap; justify-content: space-between; flex: 1 1 50%; - + margin-bottom: 2em; h1 { @@ -34,15 +34,15 @@ flex-wrap: wrap; justify-content: space-between; align-items: center; + + .submit-container { + margin: 0; + max-width: 35%; + } } - .row > * { + .row>* { flex: 1 1 calc(50% - ($gap / 2)); } - - .row:has(.submit)>* { - margin: 0; - max-width: 35%; - } } } \ No newline at end of file