1
0
forked from mirror/misskey

fix(frontend): make scrollbar-color track transparent

Fix #9414
This commit is contained in:
tamaina 2023-06-01 12:03:07 +00:00
parent 23f272cc7d
commit eedc8049db
2 changed files with 4 additions and 1 deletions

View File

@ -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 {

View File

@ -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) {
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background: inherit; background: inherit;
} }
scrollbar-color: var(--scrollbarHandle) transparent;
} }
} }
} }
@ -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>