Skip to content

Commit

Permalink
Style Scroll Bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaopengLin committed Sep 9, 2024
1 parent f7844f0 commit a75ce45
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions resources/js/tocStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ style.innerHTML = `
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
#kiwix-toc::-webkit-scrollbar {
width: 5px;
border: none;
outline: none;
}
#kiwix-toc::-webkit-scrollbar-thumb {
background-color: darkgrey;
outline: 1px solid slategrey;
}
#kiwix-toc-title {
all: initial;
display: block;
Expand Down

0 comments on commit a75ce45

Please sign in to comment.