Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-08-28 11:26:35 +0300
committerRobin Appelman <robin@icewind.nl>2017-08-28 11:26:35 +0300
commit2b67499f0ada8ec8cda07080b1228b25619f003c (patch)
tree8060298f342e51f65f79124db530642c379f876a /css
parentb77f6e952bbeb415073d8e24fbb1d661c1091b56 (diff)
Fix preview when on mobile
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'css')
-rw-r--r--css/style.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/css/style.scss b/css/style.scss
index 1e01385..7968f68 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -122,13 +122,17 @@
padding-top: 91px; /** main navigation + controls */
}
- #editor_container.hasPreview #preview {
+ #editor_container.hasPreview:not(.onlyPreview) #preview {
display: none;
}
#editor_container.hasPreview #editor {
width: 100%;
}
+
+ #preview_editor_controls button:nth-child(2) {
+ display: none;
+ }
}
#editor_close {