Vertically center pdf in presentation mode (#22145)

* Vertically center pdf in presentation mode

* Ignore style lint error

GitOrigin-RevId: b46e6d414406d150e894b4c94ec0e94b61a0ce11
This commit is contained in:
David
2024-11-27 11:08:33 +00:00
committed by Copybot
parent a8c9b897f1
commit f60e88368b
2 changed files with 15 additions and 0 deletions

View File

@@ -320,8 +320,15 @@
}
:fullscreen {
.pdfViewer {
min-height: auto !important;
}
.pdfjs-viewer-inner {
overflow-y: hidden !important;
display: flex;
align-items: center;
justify-content: center;
}
}

View File

@@ -343,8 +343,16 @@
}
:fullscreen {
/* stylelint-disable selector-class-pattern */
.pdfViewer {
min-height: auto !important;
}
.pdfjs-viewer-inner {
overflow-y: hidden !important;
display: flex;
align-items: center;
justify-content: center;
}
}