Set min-height for contenteditable

4cfce43e5d7ff8bd56acb71c7573194d531b2e2a

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +1 -4Ignore whitespace
public/scripts/instruct-mode.js+0 -4
@@ -611,15 +611,11 @@ jQuery(() => {
611611 if (state) {
612612 $('#instruct_system_sequence_block').addClass('disabled');
613613 $('#instruct_system_suffix_block').addClass('disabled');
614- $('#instruct_system_sequence').css('height', 'auto');
615- $('#instruct_system_suffix').css('height', 'auto');
616614 $('#instruct_system_sequence').prop('contenteditable', false);
617615 $('#instruct_system_suffix').prop('contenteditable', false);
618616 } else {
619617 $('#instruct_system_sequence_block').removeClass('disabled');
620618 $('#instruct_system_suffix_block').removeClass('disabled');
621- $('#instruct_system_sequence').css('height', '');
622- $('#instruct_system_suffix').css('height', '');
623619 $('#instruct_system_sequence').prop('contenteditable', true);
624620 $('#instruct_system_suffix').prop('contenteditable', true);
625621 }
public/style.css+1 -0
@@ -5460,4 +5460,5 @@ body:not(.movingUI) .drawer-content.maximized {
54605460 max-height: 50dvh;
54615461 resize: vertical;
54625462 overflow: auto;
5463+ min-height: 1.8em;
54635464}