Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulian233 authored Jan 22, 2025
1 parent 283e801 commit 21bc542
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

/* Smooth scroll */
html {
scroll-behavior: auto;
}

html:has(:target) {
scroll-behavior: smooth;
}

Expand Down

0 comments on commit 21bc542

Please sign in to comment.