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:
commit
790e21242a
@ -175,7 +175,8 @@ html[dir='rtl'] #sidebarContent {
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
}
|
||||||
|
#viewerContainer:not(.pdfPresentationMode) {
|
||||||
transition-duration: 200ms;
|
transition-duration: 200ms;
|
||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
@ -191,12 +192,12 @@ html[dir='rtl'] #viewerContainer {
|
|||||||
transition-duration: 0s;
|
transition-duration: 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {
|
html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
||||||
transition-property: left;
|
transition-property: left;
|
||||||
left: 200px;
|
left: 200px;
|
||||||
left: var(--sidebar-width);
|
left: var(--sidebar-width);
|
||||||
}
|
}
|
||||||
html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {
|
html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
||||||
transition-property: right;
|
transition-property: right;
|
||||||
right: 200px;
|
right: 200px;
|
||||||
right: var(--sidebar-width);
|
right: var(--sidebar-width);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user