From a8761014776edf4e80df3539349cc9b5a3d897a6 Mon Sep 17 00:00:00 2001 From: hosead6168 Date: Thu, 16 Dec 2021 19:08:50 -0600 Subject: [PATCH] fix(*): adj responsiveness --- src/Components/Form/Contact.css | 13 ++- src/Components/Form/ContactForm.jsx | 1 - src/Components/Timeline/timeline.css | 122 ++++++------------------- src/Pages/Articles/Article/Article.jsx | 4 +- src/Pages/Articles/Articles.css | 32 ++++++- src/Pages/Articles/Articles.jsx | 108 +++++++++------------- 6 files changed, 112 insertions(+), 168 deletions(-) diff --git a/src/Components/Form/Contact.css b/src/Components/Form/Contact.css index 85ab4003..d0cd9871 100755 --- a/src/Components/Form/Contact.css +++ b/src/Components/Form/Contact.css @@ -47,21 +47,30 @@ opacity: 0.6; } -@media only screen and (min-width: 768px) { +@media only screen and (max-width: 768px) { + .contact-container form { + width: 80% !important; + } .contact-container { - width: 100%; + height: 30vh; } } @media only screen and (max-width: 480px) { .contact-container { width: 100vw; } + .contact-container p { + width: 80%; + } .contact-container .contact-input { width: 170%; } .contact-container textarea { width: 170%; } + .contact-container { + height: 40vh; + } } /* @media only screen and (min-width: 480px) { .contact-container { diff --git a/src/Components/Form/ContactForm.jsx b/src/Components/Form/ContactForm.jsx index 532b8c1f..bbf724b1 100755 --- a/src/Components/Form/ContactForm.jsx +++ b/src/Components/Form/ContactForm.jsx @@ -31,7 +31,6 @@ const ContactForm = () => {