Skip to content

Commit 131e258

Browse files
fix: inner linking scroll position
1 parent 8c8a4b1 commit 131e258

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/templates/page.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ body{
1818
//overflow: auto;
1919
overflow-x: hidden;
2020
height: 100%;
21+
scroll-behavior: smooth;
22+
scroll-padding-top: 90px;
2123
}
2224

2325
#root_header{

0 commit comments

Comments
 (0)