mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add wrapper for description popouts, make them wider
This commit is contained in:
@@ -386,14 +386,18 @@ jQuery(function () {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const wrapper = document.createElement('div');
|
||||||
|
wrapper.classList.add('height100p', 'wide100p', 'flex-container');
|
||||||
|
wrapper.classList.add('flexFlowColumn', 'justifyCenter', 'alignitemscenter');
|
||||||
const textarea = document.createElement('textarea');
|
const textarea = document.createElement('textarea');
|
||||||
textarea.value = String(bro.val());
|
textarea.value = String(bro.val());
|
||||||
textarea.classList.add('height100p');
|
textarea.classList.add('height100p', 'wide100p');
|
||||||
textarea.oninput = function () {
|
textarea.oninput = function () {
|
||||||
bro.val(textarea.value).trigger('input');
|
bro.val(textarea.value).trigger('input');
|
||||||
};
|
};
|
||||||
|
wrapper.appendChild(textarea);
|
||||||
|
|
||||||
callPopup(textarea, 'text', '', { wide: true, large: true });
|
callPopup(wrapper, 'text', '', { wide: true, large: true });
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#file_form_input').on('change', onFileAttach);
|
$('#file_form_input').on('change', onFileAttach);
|
||||||
|
@@ -1962,6 +1962,7 @@ grammarly-extension {
|
|||||||
.wide_dialogue_popup {
|
.wide_dialogue_popup {
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
width: unset !important;
|
width: unset !important;
|
||||||
|
min-width: var(--sheldWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
#bulk_tag_popup_holder,
|
#bulk_tag_popup_holder,
|
||||||
|
Reference in New Issue
Block a user