💄 Style: change scroll-behavior to smooth

This commit is contained in:
Cell
2021-12-28 20:38:59 +08:00
parent e7470a9fa1
commit 28229c03b8
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -2,10 +2,11 @@
## v0.2.12
- :bug: Fix: add scroll-margin to headerlink
- :arrow_up: Chore: update all third-party libraries
- :wrench: Chore(i18n): change some translations
- :fire: Feat: remove lib smooth-scroll [#1](https://github.com/Lruihao/FixIt/issues/1)
- :bug: Fix: add scroll-margin to headerlink
- :fire: Feat: remove lib smooth-scroll ([#1](https://github.com/Lruihao/FixIt/issues/1))
- :lipstick: Style: change scroll-behavior to smooth
## v0.2.11
+1 -1
View File
@@ -5,7 +5,7 @@ html {
font-size: $global-font-size;
line-height: $global-line-height;
width:100%;
scroll-behavior: auto;
scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {