Skip to content

Commit e0ac98b

Browse files
authored
Fix: Add scrollbar to the sidebar (#17203)
## Chrome(White mode): <img width="1648" alt="Screenshot 2023-04-04 at 10 35 44" src="https://user-images.githubusercontent.com/44496264/229736193-76c103af-a6a9-463e-968c-f3bd7e84543f.png"> ## Chrome(Dark mode): <img width="1648" alt="Screenshot 2023-04-04 at 10 35 50" src="https://user-images.githubusercontent.com/44496264/229736266-568a4650-f054-42ad-bdaf-44ee3f26d40c.png"> ## Safari: <img width="1648" alt="Screenshot 2023-04-04 at 10 35 35" src="https://user-images.githubusercontent.com/44496264/229736413-ca354f8f-ede4-4f99-8ff8-e1efcd6fa468.png"> ## Mozilla: <img width="1648" alt="Screenshot 2023-04-04 at 10 35 16" src="https://user-images.githubusercontent.com/44496264/229736453-917edc61-0ae3-4cff-9dcb-33a4d200f6bf.png"> Fixes: #17046
2 parents 49879ac + 93cc31d commit e0ac98b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

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

22+
/* Scrollbar */
23+
2224
::-webkit-scrollbar {
2325
width: 0;
2426
background: transparent;
2527
}
28+
29+
#leftColumn ::-webkit-scrollbar{
30+
width: 5px;
31+
}
32+
33+
#leftColumn ::-webkit-scrollbar-thumb {
34+
background: var(--code-syntax-highlighting-scrollbar);
35+
border-radius: 2px;
36+
}

0 commit comments

Comments
 (0)