From e1dd1990d7f9e021c00c24a925ba68c1966115d4 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 2 Dec 2025 15:16:39 +0100 Subject: [PATCH] refactor: Remove redundant max-width and max-height properties from preview zoom elements. --- frontend/src/styles/preview/preview-zoom.css | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/frontend/src/styles/preview/preview-zoom.css b/frontend/src/styles/preview/preview-zoom.css index 394dccb..6b8f970 100644 --- a/frontend/src/styles/preview/preview-zoom.css +++ b/frontend/src/styles/preview/preview-zoom.css @@ -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;