Skip to content

Conversation

@danxuliu
Copy link
Member

@danxuliu danxuliu commented Sep 7, 2022

Fixes #7851

Pending:

@danxuliu danxuliu added 2. developing bug feature: frontend 🖌️ "Web UI" client feature: talk-sidebar ⬅️ Sidebar integration of Talk into other apps like sharing and documents labels Sep 7, 2022
@danxuliu danxuliu added this to the 💚 Next Beta (25) milestone Sep 7, 2022
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 <[email protected]>
The iframe of the PDF viewer is shown with an absolute position and full
width and height, so it takes the size of the first parent with a
relative or fixed position. That parent was the main content element,
which is also a parent of the sidebar and therefore its size includes
it, so the iframe filled the content and extended behind the sidebar.
To solve that now a relative position is set for #app-content, which is
a sibling of the sidebar and therefore prevents the iframe from
overlapping it.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu force-pushed the adjust-public-share-page-to-layout-changes-in-nextcloud-25 branch from a478e97 to a0f9c62 Compare September 7, 2022 14:37
@danxuliu danxuliu marked this pull request as ready for review September 9, 2022 07:46
@marcoambrosini marcoambrosini merged commit 144eb2e into master Sep 9, 2022
@marcoambrosini marcoambrosini deleted the adjust-public-share-page-to-layout-changes-in-nextcloud-25 branch September 9, 2022 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug feature: frontend 🖌️ "Web UI" client feature: talk-sidebar ⬅️ Sidebar integration of Talk into other apps like sharing and documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public share sidebar integration breaks the layout

3 participants