Add wrapper for description popouts, make them wider

This commit is contained in:
Cohee 2023-12-03 03:21:11 +02:00
parent 4cb9cd128f
commit c051fc3ce9
2 changed files with 7 additions and 2 deletions

View File

@ -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);

View File

@ -1962,6 +1962,7 @@ grammarly-extension {
.wide_dialogue_popup {
aspect-ratio: 1 / 1;
width: unset !important;
min-width: var(--sheldWidth);
}
#bulk_tag_popup_holder,