From 0cc64921cfdce4f00988bdb4f7c492ddb3ce8a91 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Mon, 30 Jun 2025 11:51:24 -0400 Subject: [PATCH] override min-width constraints to fix modal hiding on narrow mobile screens --- uncloseai.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uncloseai.js b/uncloseai.js index f471060..0fa4c36 100644 --- a/uncloseai.js +++ b/uncloseai.js @@ -1000,6 +1000,8 @@ function openHermesModal() { modal.style.cssText += ` width: 100%; height: 100%; + min-width: 0; + max-width: none; `; } @@ -1019,6 +1021,10 @@ function openHermesModal() { flex-direction: column; transform: scale(0.75); transform-origin: center; + margin: 0; + padding: 0; + min-width: 0; + max-width: none; `; } modal.appendChild(article);