aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/css
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/css')
-rw-r--r--src/main/resources/css/fileview.css8
-rw-r--r--src/main/resources/css/layout.css4
2 files changed, 8 insertions, 4 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;
diff --git a/src/main/resources/css/layout.css b/src/main/resources/css/layout.css
index 9c03575..c0d7366 100644
--- a/src/main/resources/css/layout.css
+++ b/src/main/resources/css/layout.css
@@ -3,8 +3,8 @@ html, body {
color: #424242;
padding: 0;
margin: 0;
- min-width: 100vw !important;
- min-height: 100vh !important;
+ min-width: 100vw;
+ min-height: 100vh;
}
button {