Skip to content
Snippets Groups Projects
Commit eedc8049 authored by tamaina's avatar tamaina
Browse files

fix(frontend): make scrollbar-color track transparent

Fix #9414
parent 23f272cc
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ html { ...@@ -34,7 +34,7 @@ html {
tab-size: 2; tab-size: 2;
&, * { &, * {
scrollbar-color: var(--scrollbarHandle) inherit; scrollbar-color: var(--scrollbarHandle) transparent;
scrollbar-width: thin; scrollbar-width: thin;
&::-webkit-scrollbar { &::-webkit-scrollbar {
......
...@@ -304,6 +304,7 @@ function onDrop(ev) { ...@@ -304,6 +304,7 @@ function onDrop(ev) {
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background: transparent; background: transparent;
} }
scrollbar-color: var(--scrollbarHandle) transparent;
} }
} }
...@@ -316,6 +317,7 @@ function onDrop(ev) { ...@@ -316,6 +317,7 @@ function onDrop(ev) {
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background: inherit; background: inherit;
} }
scrollbar-color: var(--scrollbarHandle) transparent;
} }
} }
} }
...@@ -400,5 +402,6 @@ function onDrop(ev) { ...@@ -400,5 +402,6 @@ function onDrop(ev) {
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background: var(--panel); background: var(--panel);
} }
scrollbar-color: var(--scrollbarHandle) var(--panel);
} }
</style> </style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment