Skip to content

Commit 93cc31d

Browse files
committed
Add scrollbar in the sidebar
1 parent 83eabc3 commit 93cc31d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

scaladoc/resources/dotty_res/styles/theme/layout/container.css

+10-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,18 @@ p {
1919
--header-height: calc(8 * var(--base-spacing));
2020
}
2121

22+
/* Scrollbar */
23+
2224
::-webkit-scrollbar {
23-
width: 5;
25+
width: 0;
2426
background: transparent;
2527
}
2628

27-
::-webkit-scrollbar-thumb {
28-
background: black;
29+
#leftColumn ::-webkit-scrollbar{
30+
width: 5px;
2931
}
32+
33+
#leftColumn ::-webkit-scrollbar-thumb {
34+
background: var(--code-syntax-highlighting-scrollbar);
35+
border-radius: 2px;
36+
}

0 commit comments

Comments
 (0)