From 43e09b41f189a8d89a56fdc3e78f6e71613e257e Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Sun, 16 Aug 2026 21:23:04 +0200 Subject: [PATCH] Slight change to the Style for the scnaner --- Web/templates/library_table.html | 49 ++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/Web/templates/library_table.html b/Web/templates/library_table.html index 2bcfcee..3e1f8b4 100644 --- a/Web/templates/library_table.html +++ b/Web/templates/library_table.html @@ -135,21 +135,6 @@ .library-scan-status.warn { color: #9a6700; } .library-scan-status.error { color: #b42318; } - .library-scan-reader-wrap { - display: none; - margin-top: 12px; - max-width: 460px; - background: var(--ui-surface); - border: 1px solid #d9dde4; - border-radius: 8px; - overflow: hidden; - } - - .library-scan-reader { - width: 100%; - min-height: 280px; - } - /* Filters */ .library-filter-toggle-btn { padding: 10px 16px; @@ -431,6 +416,40 @@ .library-scan-reader-wrap { max-width: 100%; } } + .library-scan-reader-wrap { + display: none; + margin-top: 15px; + max-width: 640px; + margin-left: auto; + margin-right: auto; + background: #000; + border: 1px solid #d9dde4; + border-radius: 8px; + overflow: hidden; + grid-column: 1 / -1; + } + + .library-scan-reader { + width: 100%; + min-height: 280px; + position: relative; + } + + .library-scan-reader video { + width: 100%; + height: auto; + display: block; + object-fit: cover; + } + + .library-scan-reader canvas.drawing, + .library-scan-reader canvas.drawingBuffer { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + }