Skip to content

Commit

Permalink
Disable smooth scroll at the CSS level instead
Browse files Browse the repository at this point in the history
doesn't seem to work otherwise
  • Loading branch information
andmor- committed Dec 18, 2023
1 parent 337c8b5 commit c176a4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scss/utility/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
1 change: 0 additions & 1 deletion scss/utility/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
// --------------------------------------------------
Expand Down

0 comments on commit c176a4c

Please sign in to comment.