feat: improve hash target positioning upon initial navigation

This commit is contained in:
Justineo
2021-10-21 18:38:51 +08:00
parent 2bfe8ad8ec
commit 047867d72a
3 changed files with 24 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ html
font-weight 400
color #333
scroll-behavior smooth
scroll-padding-top 120px
html
body
@@ -39,3 +40,6 @@ a:focus
main
line-height 1.5
.DocSearch-Container
backdrop-filter blur(4px)