Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
add smooth scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
ByAnthony committed May 16, 2024
1 parent b16d322 commit 3db3cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
flex-wrap: nowrap;
gap: index.$m-margin;
overflow-x: auto;
scroll-behavior: smooth;
}

.chapter-card {
Expand Down
1 change: 1 addition & 0 deletions client/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ html, body {
line-height: normal;
background-color: $primary-dark-color;
scrollbar-color: $primary-light-color $primary-dark-color;
scroll-behavior: smooth;
}

h1 {
Expand Down

0 comments on commit 3db3cb7

Please sign in to comment.