mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
Fix open drawer sizing issues in Firefox
This commit is contained in:
parent
1c421cc117
commit
75e279091c
@ -10747,7 +10747,11 @@ jQuery(async function () {
|
||||
var icon = $(this).find('.inline-drawer-icon');
|
||||
icon.toggleClass('down up');
|
||||
icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up');
|
||||
$(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle();
|
||||
$(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle({
|
||||
complete: () => {
|
||||
$(this).css('height', '');
|
||||
},
|
||||
});
|
||||
|
||||
// Set the height of "autoSetHeight" textareas within the inline-drawer to their scroll height
|
||||
if (!CSS.supports('field-sizing', 'content')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user