Add a scrollbar to notebook/default, improve chat scrollbar style (#3403)
--------- Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
This commit is contained in:
parent
6c521ce967
commit
6afc1a193b
4 changed files with 45 additions and 10 deletions
|
@ -16,3 +16,10 @@ main_parent.addEventListener('click', function(e) {
|
|||
extensions.style.display = 'none';
|
||||
}
|
||||
});
|
||||
|
||||
const textareaElements = document.querySelectorAll('.add_scrollbar textarea');
|
||||
for(i = 0; i < textareaElements.length; i++) {
|
||||
textareaElements[i].classList.remove('scroll-hide');
|
||||
textareaElements[i].classList.add('pretty_scrollbar');
|
||||
textareaElements[i].style.resize = "none";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue