Skip to content

Commit f199b2a

Browse files
authored
Merge pull request #248 from ahmed-abohmaid/scroll-to-section
Fix scroll to section behavior
2 parents 261038a + e8712eb commit f199b2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

styles/globals.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap";
22

3+
html {
4+
scroll-behavior: smooth;
5+
scroll-padding-top: 100px;
6+
}
7+
38
html,
49
body,
510
#__next {

0 commit comments

Comments
 (0)