From 2d20bdc47850e217e5fee32c9933c77026b9c238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Mon, 26 Nov 2018 14:34:40 +0100 Subject: Fix PDF sidebar shown in PDF thumbnails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- css/minmode.css | 7 +++++++ 1 file changed, 7 insertions(+) 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; +} -- cgit v1.2.3