From 9383593da0edf929c4e332fe0f444e4e250165fb Mon Sep 17 00:00:00 2001 From: xtian7489 Date: Thu, 18 Jan 2024 19:40:58 -0300 Subject: [PATCH] =?UTF-8?q?correcci=C3=B3n=20margenes=20de=20scroll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/scss/global.scss | 7 +++++++ src/static/scss/landing.scss | 3 +++ 2 files changed, 10 insertions(+) diff --git a/src/static/scss/global.scss b/src/static/scss/global.scss index 4e4dcd9..a636c03 100644 --- a/src/static/scss/global.scss +++ b/src/static/scss/global.scss @@ -11,8 +11,15 @@ main { margin: 0; padding: 0; border: 0; +} + +html{ scroll-behavior: smooth } +*{ + scroll-margin-top: 75px; +} + main { min-height: 100vh; diff --git a/src/static/scss/landing.scss b/src/static/scss/landing.scss index 7aab6a5..d788bca 100644 --- a/src/static/scss/landing.scss +++ b/src/static/scss/landing.scss @@ -1,5 +1,6 @@ .landing-wrapper { .countries-banner { + scroll-margin-top: 105px; .card-group { padding: 0 3rem; .card { @@ -103,6 +104,8 @@ @include tablet{ padding: .5rem; } */ + scroll-margin-top: 105px; + .content{ width: 75%; @include tablet{