diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-09-07 05:10:41 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-09-07 17:09:26 +0300 |
commit | 97d91091226276c3669a10f20493f2355b2a17b4 (patch) | |
tree | ae22ab6591471c9679cb1a9e56e9510d3aa2ad1e /css | |
parent | e2a4b63cbd1484b1e48a4968ae4de22e3b878847 (diff) |
Adjust public share page to layout changes in Nextcloud 25
The content now has an explicit width and height set in the server style
that takes into account the margins, so it does not need to be
overriden.
The footer, on the other hand, now has a fixed position, but as the
element is moved into the #app-content when the Talk sidebar is loaded
it needs to be set as relative instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/publicshare.css | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/css/publicshare.css b/css/publicshare.css index ccacb8ca2..1697e25f9 100644 --- a/css/publicshare.css +++ b/css/publicshare.css @@ -14,7 +14,6 @@ position: static; } -#content, #content.full-height { /* Always full height without header. */ height: calc(100% - 50px); @@ -33,10 +32,6 @@ min-height: 0; padding-top: 0; - /* Does not change anything in normal mode, but ensures that the element - * will stretch to the full width in full screen mode. */ - width: 100%; - /* Override margin used in server, as the header is part of the flex layout * and thus the content does not need to be pushed down. */ margin-top: 0; @@ -57,6 +52,10 @@ flex-grow: 1; } +#content footer { + position: relative; +} + #content footer p a { /* The server sets an height to the footer of 65px, but its contents are * slightly larger, which causes a scroll bar to be added to the content |