Skip to content

Conversation

@danxuliu
Copy link
Member

Backport of #95

The embedded PDF viewer is shown in an iframe in front of the of the
Files app by using absolute positioning. Since Nextcloud 14 the parent
element of the iframe uses a flex layout, and the previous sibling of
the iframe, the "app-content" element, is shown with
"flex-basis: 100vw".

In IE 11 the scenario above causes the iframe to be shown to the right
of "app-content" instead of in front of it; it is necessary to
explicitly set "left: 0" to force the iframe to be aligned to the left
of its positioning context (which in this case is its parent element)
and thus in front of "app-content".

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@rullzer rullzer merged commit 07f43b1 into stable14 Sep 26, 2018
@skjnldsv skjnldsv deleted the stable14-95-fix-embedded-viewer-with-new-server-layout-on-ie-11 branch August 26, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants