From c176a4ceac6156038a5ed688552db49f3ef2fe73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira?= Date: Mon, 18 Dec 2023 19:21:53 +0100 Subject: [PATCH] Disable smooth scroll at the CSS level instead doesn't seem to work otherwise --- scss/utility/typography.scss | 3 +++ scss/utility/variables.scss | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scss/utility/typography.scss b/scss/utility/typography.scss index 9417956..7e71256 100644 --- a/scss/utility/typography.scss +++ b/scss/utility/typography.scss @@ -59,4 +59,7 @@ $h6-font-size-h6: 14px; --bs-body-font-size: #{$font-size-base}; --bs-body-font-weight: #{$font-weight-normal}; --bs-body-line-height: #{$line-height-base}; + + // Incompatible with jQuery.animate used in front page button + scroll-behavior: auto !important; } diff --git a/scss/utility/variables.scss b/scss/utility/variables.scss index 39bccaf..58e70b3 100644 --- a/scss/utility/variables.scss +++ b/scss/utility/variables.scss @@ -59,7 +59,6 @@ $enable-gradients: false; // Other Bootstrap configutation variables $input-height: 1rem; -$enable-smooth-scroll: false; // Incompatible with jQuery.animate used in front page button // Media queries breakpoints // --------------------------------------------------