Skip to content

Commit 6700f5d

Browse files
authored
Disable smooth scrolling (#1762)
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 e5aa523 commit 6700f5d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-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;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update Docsy to v0.8.0.

0 commit comments

Comments
 (0)