Commit f305470a by doszhang

dos

parent 2704d04c
......@@ -165,7 +165,7 @@ function ruleScroll() {
let scrollHeight = wrapHeight - blockHeight;
let step = (scrollHeight / 39) * fontSize;
let scrollTop = $('.rule-block').scrollTop();
$('.scroll-bar').css('top', scrollTop * step + 'rem');
$('.scroll-bar').css('top', scrollTop * step + 'px');
}
function hideRule() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment