aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/js
diff options
context:
space:
mode:
authorMarvin Borner2019-04-17 00:17:49 +0200
committerMarvin Borner2019-04-17 00:17:49 +0200
commit8ce2f4200861f2ba217fa4ca0400137c94dcd05a (patch)
treefa4b2f7b55b31f7efd2c8780ec9bef560fb8eea1 /src/main/resources/js
parentfe6af31f05f59ed1ef162bc16ffc99600df51ad7 (diff)
Almost fixed scrollbars in previews
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/js')
-rw-r--r--src/main/resources/js/fileview.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/js/fileview.js b/src/main/resources/js/fileview.js
index 218207c..d4c85da 100644
--- a/src/main/resources/js/fileview.js
+++ b/src/main/resources/js/fileview.js
@@ -44,6 +44,8 @@ if (extension === "html") {
body.style.overflow = "visible";
} else {
settings.style.display = "block";
+ html.style.overflow = "visible";
+ body.style.overflow = "visible";
}
code.addEventListener("change", () => {