forked from open-webui/open-webui
fix: chat input variable styling issue
This commit is contained in:
parent
572cd22b4d
commit
52fb09ff95
1 changed files with 3 additions and 0 deletions
|
@ -828,6 +828,9 @@
|
|||
e.preventDefault();
|
||||
e.target.setSelectionRange(word?.startIndex, word.endIndex + 1);
|
||||
}
|
||||
|
||||
e.target.style.height = '';
|
||||
e.target.style.height = Math.min(e.target.scrollHeight, 200) + 'px';
|
||||
}
|
||||
}}
|
||||
rows="1"
|
||||
|
|
Loading…
Reference in a new issue