From 8cfdea00b60e513b300f3b383d7549ecbf99ff28 Mon Sep 17 00:00:00 2001 From: Bernardo Waldhelm Date: Thu, 12 Jan 2023 13:47:10 -0300 Subject: [PATCH] =?UTF-8?q?styles(home):=20ajustando=20posicion=20do=20foo?= =?UTF-8?q?ter=20=C3=A1cima=20de=202500=20px=20que=20estava=20quebrando?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer/Footer.module.scss | 4 +++- src/components/Main/Main.module.scss | 1 + src/pages/Home.module.scss | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Footer/Footer.module.scss b/src/components/Footer/Footer.module.scss index 9b71e07..b8cdfba 100644 --- a/src/components/Footer/Footer.module.scss +++ b/src/components/Footer/Footer.module.scss @@ -1,12 +1,14 @@ @import '../../variaveis'; .footer { - position: relative; + position: sticky; bottom: 0; + top: 100%; width: 100%; margin-top: 84px; @media #{$mq-desktop}, #{$mq-tablet},#{$mq-mobile} { + position: relative; margin-top: 80px; } } diff --git a/src/components/Main/Main.module.scss b/src/components/Main/Main.module.scss index 736b86b..4aa2d93 100644 --- a/src/components/Main/Main.module.scss +++ b/src/components/Main/Main.module.scss @@ -22,6 +22,7 @@ margin-bottom: 80px; @media #{$mq-desktop}, #{$mq-tablet}, #{$mq-mobile} { + margin-bottom: 40px; font-size: 24px; line-height: 28px; } diff --git a/src/pages/Home.module.scss b/src/pages/Home.module.scss index 348ed5b..8269b87 100644 --- a/src/pages/Home.module.scss +++ b/src/pages/Home.module.scss @@ -1,2 +1,5 @@ .home { + @media (min-width: 3000px) { + height: 100vh; + } }