aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/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
parent85654224957a5d6c68e3060d706137cfd02d8a06 (diff)
Added file preview css reset via iframe
Diffstat (limited to 'src/main/resources/css')
-rw-r--r--src/main/resources/css/fileview.css7
-rw-r--r--src/main/resources/css/layout.css9
2 files changed, 13 insertions, 3 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;
}
diff --git a/src/main/resources/css/layout.css b/src/main/resources/css/layout.css
index c11ee79..9c03575 100644
--- a/src/main/resources/css/layout.css
+++ b/src/main/resources/css/layout.css
@@ -1,7 +1,12 @@
html, body {
font-family: Arial, Helvetica, sans-serif;
+ color: #424242;
padding: 0;
margin: 0;
- min-width: 100%;
- min-height: 100%;
+ min-width: 100vw !important;
+ min-height: 100vh !important;
+}
+
+button {
+ color: #424242;
}