From 35b3b6930fd72f3b67b17665cabfaca1410ee007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Mon, 23 Mar 2026 10:03:43 +0100 Subject: [PATCH] Verbreitere Kontaktfenster --- script.js | 2 +- styles.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 3f1b7b3..3caf769 100644 --- a/script.js +++ b/script.js @@ -19,7 +19,7 @@ const positionFlyover = (trigger) => { return; } - const panelWidth = Math.min(420, window.innerWidth - 32); + const panelWidth = Math.min(546, window.innerWidth - 32); const preferredLeft = rect.right + gap; const maxLeft = window.innerWidth - panelWidth - gap; const left = Math.min(preferredLeft, maxLeft); diff --git a/styles.css b/styles.css index e2f4383..639a5b2 100644 --- a/styles.css +++ b/styles.css @@ -599,7 +599,7 @@ button { position: absolute; top: var(--flyover-top, 2rem); left: var(--flyover-left, auto); - width: min(420px, calc(100vw - 2rem)); + width: min(546px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-x: hidden; overflow-y: auto;