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
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-26 16:34:40 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2018-11-27 21:38:13 +0300
commit40d82f864f974f9f9dfe3277c1acddbf1701bd61 (patch)
tree6f738c2ec65a012bebbdaa1aa1b8b4e193336e6b
parent6733294b11c8d4670fd06fd7ae16714f570e1251 (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>
-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;
+}