Skip to content

Commit

Permalink
style(scrollbar): changed the scrollbar to be a bit thin and darker t…
Browse files Browse the repository at this point in the history
…o match the theme of jellyseerr (#857)

fix #856
  • Loading branch information
XDark187 authored Jul 21, 2024
1 parent c600566 commit dd6dbf1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@
min-height: calc(100% + env(safe-area-inset-top));
padding: env(safe-area-inset-top) env(safe-area-inset-right)
calc(4rem + env(safe-area-inset-bottom)) env(safe-area-inset-left);
scrollbar-width: thin;
scrollbar-color: #4b5563 #1f2937;
}

html:hover {
scrollbar-color: #6b7280 #1f2937;
}

/* WebKit scrollbar styles */
html::-webkit-scrollbar {
width: 10px;
}

html::-webkit-scrollbar-track {
background: #1f2937;
}

html::-webkit-scrollbar-thumb {
background-color: #4b5563;
}

html:hover::-webkit-scrollbar-thumb {
background-color: #6b7280;
}

@media (min-width: 640px) {
Expand Down

0 comments on commit dd6dbf1

Please sign in to comment.