Skip to content

Commit 21bc542

Browse files
authored
improve
1 parent 283e801 commit 21bc542

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: python_docs_theme/static/pydoctheme.css

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
/* Smooth scroll */
44
html {
5+
scroll-behavior: auto;
6+
}
7+
8+
html:has(:target) {
59
scroll-behavior: smooth;
610
}
711

0 commit comments

Comments
 (0)