mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-31 11:52:20 +00:00
Minor changes, updated README
This commit is contained in:
parent
094b650be5
commit
f6bd993b38
4 changed files with 55 additions and 5 deletions
|
@ -292,6 +292,7 @@ document.addEventListener('DOMContentLoaded', function(){
|
|||
this.$refs.inputTextarea.style.height = 150 + "px";
|
||||
this.$refs.translatedTextarea.style.height = 150 + "px";
|
||||
}else{
|
||||
this.$refs.inputTextarea.style.height = this.$refs.translatedTextarea.style.height = "1px";
|
||||
this.$refs.inputTextarea.style.height = Math.max(150, this.$refs.inputTextarea.scrollHeight) + "px";
|
||||
this.$refs.translatedTextarea.style.height = Math.max(150, this.$refs.translatedTextarea.scrollHeight) + "px";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue