Skip to content

Commit

Permalink
Set smooth scroll behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOliver committed Nov 26, 2024
1 parent ddda194 commit 043ac62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/_html.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
@import "tabset.css";
@import "preview.css";

html {
scroll-behavior: smooth;
}

body:not(.dark) .content-inner img[src*="#gh-dark-mode-only"],
body.dark .content-inner img[src*="#gh-light-mode-only"] {
display: none;
Expand Down

0 comments on commit 043ac62

Please sign in to comment.