aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/css/fileview.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/css/fileview.css')
-rw-r--r--src/main/resources/css/fileview.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/resources/css/fileview.css b/src/main/resources/css/fileview.css
index 8341a80..4e24b33 100644
--- a/src/main/resources/css/fileview.css
+++ b/src/main/resources/css/fileview.css
@@ -1,11 +1,15 @@
+html, body {
+ max-width: 100vw;
+ overflow: hidden;
+}
+
.preview, .switch, .settings {
display: none;
}
-/* TODO: Fix duplicate scrollbars in previews */
.prettyprint, .preview {
position: absolute;
- min-height: 100%;
+ height: 100%;
width: 100%;
border: none !important;
overflow: visible;