Skip to content

Commit 8a647a0

Browse files
authored
added smooth scroll behavior using css
1 parent bcf7cb4 commit 8a647a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/layout/app.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
html {
1313
-ms-text-size-adjust: 100%;
1414
-webkit-text-size-adjust: 100%;
15+
scroll-behavior: smooth;
16+
scroll-padding-top: 1em;
1517
}
1618

1719
body {

0 commit comments

Comments
 (0)