aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/css/fileview.css
diff options
context:
space:
mode:
authorMarvin Borner2019-04-15 19:59:37 +0200
committerMarvin Borner2019-04-15 19:59:37 +0200
commit1ee7bb209d0f3a66b00d34edc57661e31a846e49 (patch)
treec627c8ec0ddf63c6e0cbd5804d8711983e9f8120 /src/main/resources/css/fileview.css
parent85654224957a5d6c68e3060d706137cfd02d8a06 (diff)
Added file preview css reset via iframe
Diffstat (limited to 'src/main/resources/css/fileview.css')
-rw-r--r--src/main/resources/css/fileview.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/resources/css/fileview.css b/src/main/resources/css/fileview.css
index 349980b..8341a80 100644
--- a/src/main/resources/css/fileview.css
+++ b/src/main/resources/css/fileview.css
@@ -2,6 +2,11 @@
display: none;
}
-.prettyprint {
+/* TODO: Fix duplicate scrollbars in previews */
+.prettyprint, .preview {
+ position: absolute;
+ min-height: 100%;
+ width: 100%;
border: none !important;
+ overflow: visible;
}