From b46aedcdf32c54ef80d9a2ba588713efaea01dd4 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Wed, 9 Jul 2025 15:23:06 -0400 Subject: [PATCH] fix: restore isMobile variable definition for responsive text sizing --- src/uncloseai-embed-modal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uncloseai-embed-modal.js b/src/uncloseai-embed-modal.js index eda8d31..4c8382f 100644 --- a/src/uncloseai-embed-modal.js +++ b/src/uncloseai-embed-modal.js @@ -194,6 +194,8 @@ async function openUncloseaiEmbeddedModalNew() { modal.setAttribute("data-theme", theme); // CSS handles all styling now - no inline styles needed + // But we still need isMobile for some responsive text sizing + const isMobile = window.innerWidth <= 480; // Simple container with flex layout const container = document.createElement("div");