refac: rich text input styling

This commit is contained in:
Timothy J. Baek committed 2024-10-19 03:15:40 -07:00
1 parent 6d25d23326
commit e252ca1dc4
6 files changed
+21 -31

No files matched your search

+4 -4
View File
@@ -823,11 +823,11 @@
);
} else {
// Reset chat input textarea
const chatTextAreaElement = document.getElementById('chat-input');
const chatInputContainer = document.getElementById('chat-input-container');
if (chatTextAreaElement) {
chatTextAreaElement.value = '';
chatTextAreaElement.style.height = '';
if (chatInputContainer) {
chatInputContainer.value = '';
chatInputContainer.style.height = '';
}
const _files = JSON.parse(JSON.stringify(files));