Skip to content

Commit c151d47

Browse files
author
Andy Waite
authored
(docs) Specify scroll behaviour to mitigate anchor bug (#3102)
Set scroll behaviour
1 parent ec5a33b commit c151d47

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jekyll/_sass/custom/_custom.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
pre.highlight {
22
line-height: 1;
33
}
4+
5+
html {
6+
scroll-behavior: auto; // https://github.com/just-the-docs/just-the-docs/issues/1574
7+
}

0 commit comments

Comments
 (0)