Skip to content

Commit bcd3d7e

Browse files
authored
Merge pull request #996 from Jisan-mia/smooth-scroll
feat: smooth scroll behavior using css only
2 parents 5ba0f3c + 8a647a0 commit bcd3d7e

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)