refactor: Remove redundant max-width and max-height properties from preview zoom elements.

This commit is contained in:
2025-12-02 15:16:39 +01:00
parent c0093edc09
commit e1dd1990d7
@@ -23,8 +23,6 @@
display: flex;
align-items: center;
justify-content: center;
max-width: 99vw;
max-height: 99vh;
z-index: 3000000;
--preview-padding: 1.5vmin;
}
@@ -32,13 +30,9 @@
.preview-zoom__stage--pdf {
width: 100%;
height: 100%;
max-width: 99vw;
max-height: 99vh;
}
.preview-zoom__image {
max-width: 99vw;
max-height: 99vh;
width: auto;
height: auto;
box-shadow: 0 32px 120px var(--shadow-deep);
@@ -48,15 +42,11 @@
display: flex;
align-items: center;
justify-content: center;
max-width: 99vw;
max-height: 99vh;
}
.preview-zoom__scroll--pdf {
width: 100%;
height: 100%;
max-width: 99vw;
max-height: 99vh;
padding: 0;
box-sizing: border-box;
overflow: auto;