This commit is contained in:
2025-11-22 02:41:14 +01:00
parent 7bee56b960
commit 132d9e3d02
5 changed files with 38 additions and 41 deletions
+2 -2
View File
@@ -455,8 +455,8 @@
flex-direction: column;
gap: var(--pdf-viewer-stack-padding, 0);
align-items: center;
--pdf-viewer-viewport-width: 100vw;
--pdf-viewer-viewport-height: 100vh;
--pdf-viewer-viewport-width: 100%;
--pdf-viewer-viewport-height: 100%;
padding: var(--pdf-viewer-stack-padding, 0);
width: 100%;
box-sizing: border-box;
+12 -11
View File
@@ -23,44 +23,45 @@
display: flex;
align-items: center;
justify-content: center;
max-width: 95vw;
max-height: 95vh;
max-width: 99vw;
max-height: 99vh;
z-index: 3000000;
}
.preview-zoom__stage--pdf {
width: 100%;
height: 100%;
max-width: none;
max-height: none;
max-width: 99vw;
max-height: 99vh;
}
.preview-zoom__image {
max-width: 95vw;
max-height: 95vh;
max-width: 99vw;
max-height: 99vh;
width: auto;
height: auto;
box-shadow: 0 32px 120px var(--shadow-deep);
}
.preview-zoom__scroll {
display: flex;
align-items: center;
justify-content: center;
max-width: 95vw;
max-height: 95vh;
max-width: 99vw;
max-height: 99vh;
}
.preview-zoom__scroll--pdf {
width: 100%;
height: 100%;
max-width: none;
max-height: none;
max-width: 99vw;
max-height: 99vh;
padding: 0;
box-sizing: border-box;
overflow: auto;
align-items: flex-start;
justify-content: center;
--pdf-viewer-stack-padding: 2rem;
--pdf-viewer-stack-padding: 1vh;
}
.preview-zoom__scroll:focus {