bigger form. see #525 #554

This commit is contained in:
mic 2026-02-12 22:29:24 +01:00
parent 774ffc2287
commit 28afa0fc45

View file

@ -69,12 +69,14 @@ messagesInputStyle.textContent = `
} }
#mzta-custom_text{ #mzta-custom_text{
padding:10px; padding:10px;
width:auto; width:50%;
min-width:300px;
max-width:80%; max-width:80%;
height:auto; height:auto;
max-height:80%; max-height:80%;
border-radius:5px; border-radius:5px;
overflow:auto; overflow-y:auto;
overflow-x:hidden;
position:fixed; position:fixed;
top:50%; top:50%;
left:50%; left:50%;
@ -84,15 +86,18 @@ messagesInputStyle.textContent = `
background:#333; background:#333;
color:white; color:white;
border:3px solid white; border:3px solid white;
box-sizing: border-box;
} }
#mzta-custom_loading{ #mzta-custom_loading{
height:50px;display:none; height:50px;display:none;
} }
#mzta-custom_textarea{ #mzta-custom_textarea{
color:black; color:black;
padding:1px; padding:5px;
font-size:15px; font-size:15px;
width:100%; width:100%;
box-sizing: border-box;
resize: vertical;
} }
#mzta-custom_info{ #mzta-custom_info{
text-align:center; text-align:center;
@ -181,6 +186,7 @@ customInfo.textContent = browser.i18n.getMessage("chatgpt_win_custom_text");
customDiv.appendChild(customInfo); customDiv.appendChild(customInfo);
const customTextArea = document.createElement('textarea'); const customTextArea = document.createElement('textarea');
customTextArea.id = 'mzta-custom_textarea'; customTextArea.id = 'mzta-custom_textarea';
customTextArea.rows = 5;
customDiv.appendChild(customTextArea); customDiv.appendChild(customTextArea);
const customLoading = document.createElement('img'); const customLoading = document.createElement('img');
customLoading.src = browser.runtime.getURL("/images/loading.gif"); customLoading.src = browser.runtime.getURL("/images/loading.gif");