Minor changes, updated README

This commit is contained in:
Piero Toffanin 2020-12-20 15:52:02 -05:00
parent 094b650be5
commit f6bd993b38
4 changed files with 55 additions and 5 deletions

View file

@ -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";
}