mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-02 15:35:18 +08:00
Updated the design of the comments section
This commit is contained in:
@ -54,7 +54,7 @@ class PageComments {
|
||||
commentElem.querySelector('[comment-edit-container]').style.display = 'block';
|
||||
let textArea = commentElem.querySelector('[comment-edit-container] textarea');
|
||||
let lineCount = textArea.value.split('\n').length;
|
||||
textArea.style.height = (lineCount * 20) + 'px';
|
||||
textArea.style.height = ((lineCount * 20) + 40) + 'px';
|
||||
this.editingComment = commentElem;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user