Skip to content

Commit

Permalink
fix: scroll and dark theme support on chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
beryxz committed Jun 8, 2023
1 parent 576d0b0 commit b86afeb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _sass/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ $mdi-font-path: "/assets/vendor/materialdesignicons/fonts";

/* =Base */
html {
scroll-behavior: smooth;
/* For tocUpdateStatus() to work on chrome, auto is required */
scroll-behavior: auto;
}

:root {
color-scheme: light dark;
}

body {
Expand Down

0 comments on commit b86afeb

Please sign in to comment.