Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafin-dev committed Oct 25, 2024
1 parent 2df1983 commit c71c284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/static/js/edxnotes/plugins/llm_summarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
textArea.style.height = `${textArea.scrollHeight}px`;

if (annotatorForm.offsetHeight > editorTop){
textArea.style.maxHeight = `${editorTop - controlsHeight - tagFieldHeight - 10}px`;
textArea.style.maxHeight = `${editorTop - controlsHeight - tagFieldHeight - parseInt(containerPadding)}px`;
}
textArea.setAttribute('tabindex', '-1');
textArea.scrollIntoView({behavior: 'smooth', block: 'start'});
Expand Down

0 comments on commit c71c284

Please sign in to comment.