diff --git a/src/pyj/read_book/settings.pyj b/src/pyj/read_book/settings.pyj index 2e925bf732..512e8a16ac 100644 --- a/src/pyj/read_book/settings.pyj +++ b/src/pyj/read_book/settings.pyj @@ -41,9 +41,11 @@ def apply_colors(): document.documentElement.appendChild(ss) if opts.color_scheme.link: c = opts.color_scheme.link - ss.textContent = f':link, :link * {{ color: {c} !important }} :visited, :visited * {{ color: {c} !important }}' + text = f':link, :link * {{ color: {c} !important }} :visited, :visited * {{ color: {c} !important }}' else: - ss.textContent = '' + text = '' + + ss.textContent = text + '\n\nhtml::-webkit-scrollbar, body::-webkit-scrollbar { display: none }' def apply_stylesheet():