Vanessa 2024-05-12 10:06:41 +08:00
parent b76c36b7b3
commit 5298c836da
2 changed files with 7 additions and 1 deletions

View file

@ -55,6 +55,12 @@
.b3-slider {
width: var(--b3-dynamicscroll-width);
display: block;
&::-webkit-slider-runnable-track,
&::-webkit-slider-thumb {
background-color: var(--b3-border-color);
box-shadow: none;
}
}
}
}

View file

@ -22,7 +22,7 @@ export class Scroll {
this.parentElement.innerHTML = `<div class="b3-tooltips b3-tooltips__w protyle-scroll__up" aria-label="${updateHotkeyTip("⌘Home")}">
<svg><use xlink:href="#iconUp"></use></svg>
</div>
<div class="fn__none protyle-scroll__bar b3-tooltips b3-tooltips__s" aria-label="Blocks 1/1">
<div class="fn__none protyle-scroll__bar ariaLabel" data-position="right18bottom" aria-label="Blocks 1/1">
<input class="b3-slider" type="range" max="1" min="1" step="1" value="1" />
</div>
<div class="b3-tooltips b3-tooltips__w protyle-scroll__down" aria-label="${updateHotkeyTip("End")}">