Skip to content

Commit c179ebb

Browse files
committed
Disable smooth scrolling
It was not enabled before the docsy update and it messes with the TOC highlighting during the transition. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
1 parent 575c84d commit c179ebb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/scss/_variables_project.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ $td-enable-google-fonts: false;
4949
* The font itself is loaded via stylesheet link layouts/partials/hooks/head-end.html.
5050
*/
5151
$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";
52+
53+
// Disable smooth scrolling as it makes TOC highlighting jump during the transition.
54+
$enable-smooth-scroll: false;

0 commit comments

Comments
 (0)