소스 검색

fix: styling

Timothy J. Baek 1 년 전
부모
커밋
7d159ca723
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/lib/components/chat/Chat.svelte

+ 2 - 0
src/lib/components/chat/Chat.svelte

@@ -165,6 +165,7 @@
 
 		if ($page.url.searchParams.get('q')) {
 			prompt = $page.url.searchParams.get('q') ?? '';
+
 			if (prompt) {
 				await tick();
 				submitPrompt(prompt);
@@ -318,6 +319,7 @@
 
 			// Reset chat input textarea
 			prompt = '';
+			document.getElementById('chat-textarea').style.height = '';
 			files = [];
 
 			// Send prompt