From 3266e8b2d56d9173811e666a216013f618b2b3e0 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 10 Sep 2025 09:44:40 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Modal=20jetzt=20wieder=20mit=20fester,?= =?UTF-8?q?=20konsistenter=20H=C3=B6he=20(min(640px,=2080vh))=20und=20inte?= =?UTF-8?q?rnem=20Scroll=20statt=20Gr=C3=B6=C3=9Fen=C3=A4nderung=20pro=20T?= =?UTF-8?q?ab.=20Body-Klassen=20angepasst=20(overflow-y-auto,=20entfernte?= =?UTF-8?q?=20dynamische=20h-Utilities).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ .../kue705FO/modals/SettingsModalWrapper.tsx | 6 +++++- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 12d6bb5..2d2d545 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.889 +NEXT_PUBLIC_APP_VERSION=1.6.890 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 57eedde..22c09a3 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.889 +NEXT_PUBLIC_APP_VERSION=1.6.890 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f8a0ac3..55db996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.890] – 2025-09-10 + +- feat: KVZ Button für User sichtbar wenn aktiviert ist + +--- ## [1.6.889] – 2025-09-10 - feat: DateRangePicker in KVZ für Meldungen diff --git a/components/main/kabelueberwachung/kue705FO/modals/SettingsModalWrapper.tsx b/components/main/kabelueberwachung/kue705FO/modals/SettingsModalWrapper.tsx index ac4a36f..497ad31 100644 --- a/components/main/kabelueberwachung/kue705FO/modals/SettingsModalWrapper.tsx +++ b/components/main/kabelueberwachung/kue705FO/modals/SettingsModalWrapper.tsx @@ -58,6 +58,9 @@ export default function KueModal({ showModal, onClose, slot }: KueModalProps) { inset: "50% auto auto 50%", transform: "translate(-50%, -50%)", width: "min(900px,92vw)", + // Feste / konsistente Höhe, unabhängig vom Tab-Inhalt + // Wenn Viewport kleiner ist, begrenze auf 80vh + height: "min(640px, 80vh)", maxHeight: "80vh", padding: 0, border: "1px solid var(--color-border)", @@ -105,7 +108,8 @@ export default function KueModal({ showModal, onClose, slot }: KueModalProps) { ); })} -
+ {/* Einheitliche Body-Höhe mit internem Scroll statt dynamischer Außenhöhe */} +
{activeTab === "kue" && (