mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user