mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
Add wrapper for description popouts, make them wider
This commit is contained in:
parent
4cb9cd128f
commit
c051fc3ce9
@ -386,14 +386,18 @@ jQuery(function () {
|
||||
return;
|
||||
}
|
||||
|
||||
const wrapper = document.createElement('div');
|
||||
wrapper.classList.add('height100p', 'wide100p', 'flex-container');
|
||||
wrapper.classList.add('flexFlowColumn', 'justifyCenter', 'alignitemscenter');
|
||||
const textarea = document.createElement('textarea');
|
||||
textarea.value = String(bro.val());
|
||||
textarea.classList.add('height100p');
|
||||
textarea.classList.add('height100p', 'wide100p');
|
||||
textarea.oninput = function () {
|
||||
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);
|
||||
|
@ -1962,6 +1962,7 @@ grammarly-extension {
|
||||
.wide_dialogue_popup {
|
||||
aspect-ratio: 1 / 1;
|
||||
width: unset !important;
|
||||
min-width: var(--sheldWidth);
|
||||
}
|
||||
|
||||
#bulk_tag_popup_holder,
|
||||
|
Loading…
Reference in New Issue
Block a user