Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable14] Fix embedded viewer with new server layout on IE 11 #98

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 <danxuliu@gmail.com>
@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.

2 participants