diff --git a/uncloseai.js b/uncloseai.js index 131919a..304c20e 100644 --- a/uncloseai.js +++ b/uncloseai.js @@ -1002,6 +1002,8 @@ function openHermesModal() { max-width: 800px; height: 80%; max-height: 600px; + transform: scale(0.6); + transform-origin: center; `; } @@ -1230,7 +1232,7 @@ function openHermesModal() { padding: 1rem; overflow-y: auto; border-bottom: 1px solid #e0e0e0; - min-height: 300px; + min-height: 200px; `; } @@ -1243,7 +1245,7 @@ function openHermesModal() { `; } else { chatBox.style.cssText = ` - min-height: 250px; + min-height: 150px; overflow-y: auto; `; } @@ -1431,7 +1433,7 @@ const USE_CUSTOM_STYLING = window.UNCLOSEAI_CUSTOM_STYLING !== false; // Function to open TTS modal function openTTSModal() { // Check if Hermes modal is open to set appropriate z-index - const hermesModal = document.getElementById('hermes-modal-backdrop'); + const hermesModal = document.getElementById('hermes-modal'); const zIndex = hermesModal ? '2001' : '1001'; const modal = document.createElement('dialog');