Merge pull request #9816 from Snuffleupagus/presentationMode-page-offset-regression

Fix regression causing the pages to be offset horizontally in Presentation Mode (PR 8993 follow-up)
This commit is contained in:
Tim van der Meij 2018-06-14 23:22:57 +02:00 committed by GitHub
commit 790e21242a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,8 @@ html[dir='rtl'] #sidebarContent {
bottom: 0;
left: 0;
outline: none;
}
#viewerContainer:not(.pdfPresentationMode) {
transition-duration: 200ms;
transition-timing-function: ease;
}
@ -191,12 +192,12 @@ html[dir='rtl'] #viewerContainer {
transition-duration: 0s;
}
html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {
html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
transition-property: left;
left: 200px;
left: var(--sidebar-width);
}
html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {
html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
transition-property: right;
right: 200px;
right: var(--sidebar-width);