Skip to content

Commit

Permalink
Disable smooth scrolling (#1762)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zecakeh committed Mar 21, 2024
1 parent e5aa523 commit 6700f5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1762.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update Docsy to v0.8.0.

0 comments on commit 6700f5d

Please sign in to comment.