Skip to content

Commit

Permalink
feat: added new scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Oct 10, 2023
1 parent 893958b commit a5674bd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions renderer/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@
--cursor-color: rgb(132, 204, 22);
}

/* Works on Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #18181b #ffffff;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 12px;
}

*::-webkit-scrollbar-track {
background: #ffffff;
}

*::-webkit-scrollbar-thumb {
background-color: #18181b;
border-radius: 20px;
border: 3px solid #ffffff;
}

html {
scroll-behavior: smooth;
}
Expand Down

0 comments on commit a5674bd

Please sign in to comment.