diff --git a/Views/Admin/Transport/SpjDriver/Scan/Index.cshtml b/Views/Admin/Transport/SpjDriver/Scan/Index.cshtml index 36e5112..b291fd6 100644 --- a/Views/Admin/Transport/SpjDriver/Scan/Index.cshtml +++ b/Views/Admin/Transport/SpjDriver/Scan/Index.cshtml @@ -9,14 +9,8 @@ /* Html5-QRCode specific styles */ #scanner-container video { width: 100% !important; - height: 100% !impo if (this.html5QrCode && this.isScanning) { - try { - await this.html5QrCode.stop(); - } catch (error) { - // Error stopping scanner - } - this.isScanning = false; - } object-fit: cover !important; + height: 100% !important; + object-fit: cover !important; border-radius: 8px; } @@ -34,21 +28,6 @@ #scanner-container button { display: none !important; } - - /* Custom scanner box overlay */ - #scanner-container::after { - content: ''; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 250px; - height: 150px; - border: 2px dashed rgba(255, 255, 255, 0.7); - border-radius: 8px; - pointer-events: none; - z-index: 5; - } } @@ -153,10 +132,10 @@

Tips Scanning:

@@ -185,7 +164,7 @@