Skip to content

Commit 043ac62

Browse files
committed
Set smooth scroll behaviour
1 parent ddda194 commit 043ac62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/css/_html.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
@import "tabset.css";
4040
@import "preview.css";
4141

42+
html {
43+
scroll-behavior: smooth;
44+
}
45+
4246
body:not(.dark) .content-inner img[src*="#gh-dark-mode-only"],
4347
body.dark .content-inner img[src*="#gh-light-mode-only"] {
4448
display: none;

0 commit comments

Comments
 (0)