Skip to content

Commit 9810d69

Browse files
committed
renderer: Compensate for Chrome’s removal of overflow: overlay.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent d2f949d commit 9810d69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/renderer/css/main.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ body {
4444

4545
#view-controls-container {
4646
height: calc(100% - 208px);
47+
scrollbar-gutter: stable both-edges;
4748
overflow-y: hidden;
4849
}
4950

@@ -52,16 +53,15 @@ body {
5253
}
5354

5455
#view-controls-container::-webkit-scrollbar-track {
55-
box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
56+
background-color: rgb(0 0 0 / 30%);
5657
}
5758

5859
#view-controls-container::-webkit-scrollbar-thumb {
5960
background-color: rgb(169 169 169 / 100%);
60-
outline: 1px solid rgb(169 169 169 / 100%);
6161
}
6262

6363
#view-controls-container:hover {
64-
overflow-y: overlay;
64+
overflow-y: scroll;
6565
}
6666

6767
/*******************

0 commit comments

Comments
 (0)