From f90bb94063aeb8711c93d9d03cda3952457e1d94 Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Sat, 25 Jul 2026 21:31:30 +0530 Subject: [PATCH] Enlarge OPD scan preview modal --- app/Views/billing/Patient_Profile_Opd_V.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/Views/billing/Patient_Profile_Opd_V.php b/app/Views/billing/Patient_Profile_Opd_V.php index 40e0e65..5aa8051 100644 --- a/app/Views/billing/Patient_Profile_Opd_V.php +++ b/app/Views/billing/Patient_Profile_Opd_V.php @@ -128,15 +128,23 @@ if ($patientPhotoPath === '') { background: #f8f9fa; } .opd-scan-modal-body { - max-height: 75vh; + max-height: calc(100vh - 140px); + min-height: 70vh; overflow: auto; background: #f8f9fa; + padding: .75rem; + } + .opd-scan-modal-dialog { + width: min(96vw, 1600px); + max-width: min(96vw, 1600px); } .opd-scan-modal-img { + display: block; max-width: 100%; - max-height: 72vh; + max-height: calc(100vh - 190px); width: auto; height: auto; + margin: 0 auto; transform-origin: center center; transition: transform 0.12s ease; cursor: grab; @@ -370,7 +378,7 @@ if ($patientPhotoPath === '') {