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

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-26 16:34:40 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-26 16:35:13 +0300
commit6f252d4d540961984b56b834be05ce201766638c (patch)
tree4516b3168065c55c3b96d7afa43be7f339602d53 /css
parent550312ad802130d022ea77a219db3a0095a34876 (diff)
Fix PDF sidebar shown in PDF thumbnails
The PDF viewer remembers whether the PDF sidebar was open or closed for each PDF file the last time it was viewed. Thus, when the PDF file is rendered in a thumbnail the sidebar must be explicitly hidden to ensure that it will never be shown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/minmode.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/css/minmode.css b/css/minmode.css
index e821161..ca525db 100644
--- a/css/minmode.css
+++ b/css/minmode.css
@@ -16,3 +16,10 @@ body {
border: 1px solid #ddd;
border-image: none;
}
+
+/* Force hide the sidebar in the thumbnail, as whether it is shown or not
+ * depends on whether it was open or not the last time that the main viewer was
+ * used. */
+#sidebarContainer {
+ display: none;
+}