From f573e23d019207e98ca3dab62b4551fd11970c36 Mon Sep 17 00:00:00 2001 From: Mikola Date: Mon, 13 Nov 2023 18:08:35 +0300 Subject: [PATCH] adaptive --- src/components/Footer/footer.scss | 2 +- src/components/Header/header.scss | 1 - src/index.css | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Footer/footer.scss b/src/components/Footer/footer.scss index 94550d5..27ef198 100644 --- a/src/components/Footer/footer.scss +++ b/src/components/Footer/footer.scss @@ -5,7 +5,7 @@ height: 450px; @media (max-width: 1155px) { - padding: 10px; + padding: 10px 0; height: auto; } diff --git a/src/components/Header/header.scss b/src/components/Header/header.scss index 73f9a5a..3e39013 100644 --- a/src/components/Header/header.scss +++ b/src/components/Header/header.scss @@ -1,5 +1,4 @@ .header { - padding: 10px; background: gray; position: relative; diff --git a/src/index.css b/src/index.css index 6a6e94d..08aa373 100644 --- a/src/index.css +++ b/src/index.css @@ -45,8 +45,8 @@ code { .container { display: flex; align-items: center; - max-width: 1300px; - padding: 0 10px; + max-width: 1310px; + padding: 0 15px; margin: 0 auto; height: 100%; }