Skip to content

Commit

Permalink
fix: Smooth Custom Scrollbar (code100x#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkmanas22 authored Sep 24, 2024
1 parent 36d8ab2 commit a1aee59
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,27 @@
padding: 0.5rem !important;
}
}

/* Smooth scrollbar */

/* width */
::-webkit-scrollbar {
width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
background: #020817;
border-radius: 15px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #2a2e3a;
border-radius: 15px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}

0 comments on commit a1aee59

Please sign in to comment.