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-09-26 16:33:00 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-09-26 16:33:00 +0300
commit1b75e40ee7479f89809cc78eeed04407d7f62389 (patch)
treee901e4a73036047d6770a97e7f5b19cda361f44d
parentbb3acbfcda3b53c569d03b6ba32735764cc246fb (diff)
Hide footer in public share page
The footer in the public share page is hidden by adding the "hidden" CSS class to the footer. However, the CSS rules for the footer defined in the server are more specific than the general rule for ".hidden" elements, which caused the footer to be shown even if marked as ".hidden". Now a more specific rule was added to override the ones from the server and ensure that the footer is hidden. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--css/style.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css
index 0091b65..a227760 100644
--- a/css/style.css
+++ b/css/style.css
@@ -6,6 +6,10 @@
display: block;
}
+#body-public footer.hidden {
+ display: none;
+}
+
#pdframe {
/* The PDF frame uses an absolute position and thus fills the whole padding
* box of the content, so the top padding is needed here too to not overlap