diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-26 16:33:00 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-10-03 23:30:42 +0300 |
commit | b556aa0572d66ed0ca55210f186a6a75ee4e6425 (patch) | |
tree | 2b7906f590446b49b415194189cd81446eb581e7 | |
parent | 07f43b161aaab22cbc73613576eb53f666ab2ac4 (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.css | 4 |
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 |