Skip to content

Commit

Permalink
Merge pull request #362 from zalabhavy/scrollbarfix
Browse files Browse the repository at this point in the history
Fix Changes in Scrollbar
  • Loading branch information
ajay-dhangar authored Jun 2, 2024
2 parents a0c5fae + 6c8a4bd commit 6630119
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@
"engines": {
"node": ">=18.0"
}
}
}
17 changes: 17 additions & 0 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@
padding: 1rem;
}

/* scrollbar.css */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: var(--ifm-color-primary);
}
/* Handle */
::-webkit-scrollbar-thumb {
background: darkgray;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: darkgrey;
}
.scrollToBottomButton {
position: fixed;
bottom: 20px;
Expand All @@ -54,3 +70,4 @@
background-color: var(--ifm-color-primary);
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

0 comments on commit 6630119

Please sign in to comment.