Extend caption/img gen generated text preview rows

This commit is contained in:
Cohee
2025-11-27 21:35:30 +02:00
parent da78cc6993
commit df865dda85
2 changed files with 2 additions and 2 deletions
@@ -734,7 +734,7 @@ async function onSaveStyleClick() {
async function refinePrompt(prompt, isNegative) {
if (extension_settings.sd.refine_mode) {
const text = isNegative ? '<h3>Review and edit the <i>negative</i> prompt:</h3>' : '<h3>Review and edit the prompt:</h3>';
const refinedPrompt = await callGenericPopup(text + 'Press "Cancel" to abort the image generation.', POPUP_TYPE.INPUT, prompt.trim(), { rows: 5, okButton: 'Continue' });
const refinedPrompt = await callGenericPopup(text + 'Press "Cancel" to abort the image generation.', POPUP_TYPE.INPUT, prompt.trim(), { rows: 8, okButton: 'Continue' });
if (refinedPrompt) {
return String(refinedPrompt);