From c179ebb7dfebe63d8c8706890802e19d3de6e374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Thu, 21 Mar 2024 10:39:41 +0100 Subject: [PATCH] Disable smooth scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was not enabled before the docsy update and it messes with the TOC highlighting during the transition. Signed-off-by: Kévin Commaille --- assets/scss/_variables_project.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/scss/_variables_project.scss b/assets/scss/_variables_project.scss index 6eec3e7c..350e39cd 100644 --- a/assets/scss/_variables_project.scss +++ b/assets/scss/_variables_project.scss @@ -49,3 +49,6 @@ $td-enable-google-fonts: false; * The font itself is loaded via stylesheet link layouts/partials/hooks/head-end.html. */ $font-family-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + +// Disable smooth scrolling as it makes TOC highlighting jump during the transition. +$enable-smooth-scroll: false;