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");