From 613604f3c4de7a07f5b1e2fac024eb76941111a8 Mon Sep 17 00:00:00 2001 From: Grzegorz Kucmierz Date: Fri, 27 Feb 2026 17:52:36 +0000 Subject: [PATCH] feat(qr-scanner): remove frame, add shape detection overlay, improve fullscreen desktop layout --- src/App.vue | 6 +- src/components/Header.vue | 2 +- src/components/tools/QrScanner.vue | 88 +++++++++++++++++++++--------- src/style.css | 2 + 4 files changed, 69 insertions(+), 29 deletions(-) diff --git a/src/App.vue b/src/App.vue index 94d1c7c..8505031 100644 --- a/src/App.vue +++ b/src/App.vue @@ -83,12 +83,12 @@ onUnmounted(() => { @media (min-width: 768px) { .app-body { - overflow: hidden; + overflow: visible; } .main-content { - overflow-y: auto; - height: 100%; + overflow: visible; + height: auto; padding-bottom: 2rem; } } diff --git a/src/components/Header.vue b/src/components/Header.vue index e06bfe9..cf11707 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -63,7 +63,7 @@ onMounted(() => { diff --git a/src/style.css b/src/style.css index c2f8d45..548947f 100644 --- a/src/style.css +++ b/src/style.css @@ -43,6 +43,7 @@ --ripple-color: rgba(255, 255, 255, 0.3); --nav-item-weight: 400; --list-hover-bg: rgba(255, 255, 255, 0.05); + --header-bg: rgba(0, 0, 0, 0.6); color: var(--text-color); background-color: #242424; /* Fallback */ @@ -86,6 +87,7 @@ --title-gradient: linear-gradient(45deg, #0ea5e9, #6366f1); --ripple-color: rgba(0, 0, 0, 0.1); --list-hover-bg: rgba(0, 0, 0, 0.05); + --header-bg: rgba(255, 255, 255, 0.9); } body {