Hide scrollbar on pastes

This commit is contained in:
kageru 2019-10-31 13:01:18 +01:00
parent e7014cb654
commit 1caaec47bd
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

@ -13,7 +13,10 @@ object PastePage {
type = "text/css"
)
script(src = "https://p.kageru.moe/static/hl.js") {}
unsafe { +"<script>hljs.initHighlightingOnLoad();</script>" }
unsafe {
+"<script>hljs.initHighlightingOnLoad();</script>"
+"<style>html{scrollbar-color: transparent transparent;}::-webkit-scrollbar{display: none;}"
}
}
body {
pre {