Skip to content

Commit

Permalink
fix: adjust smooth effect
Browse files Browse the repository at this point in the history
  • Loading branch information
c0sta authored Feb 19, 2024
1 parent cedd3a2 commit d336f14
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
@tailwind components;
@tailwind utilities;

body {
width: 100vw;
height: 100vh;
scrollbar-width: thin;
html {
* {
scroll-behavior: smooth;
scroll-padding-top: 2rem;
}
}

body {
width: 100vw;
height: 100vh;
scrollbar-width: thin;
}

*::-webkit-scrollbar {
width: 8px;
}
Expand Down

0 comments on commit d336f14

Please sign in to comment.