Browse Source

fix: styling

Timothy J. Baek 1 year ago
parent
commit
7d159ca723
1 changed files with 2 additions and 0 deletions
  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')) {
 		if ($page.url.searchParams.get('q')) {
 			prompt = $page.url.searchParams.get('q') ?? '';
 			prompt = $page.url.searchParams.get('q') ?? '';
+
 			if (prompt) {
 			if (prompt) {
 				await tick();
 				await tick();
 				submitPrompt(prompt);
 				submitPrompt(prompt);
@@ -318,6 +319,7 @@
 
 
 			// Reset chat input textarea
 			// Reset chat input textarea
 			prompt = '';
 			prompt = '';
+			document.getElementById('chat-textarea').style.height = '';
 			files = [];
 			files = [];
 
 
 			// Send prompt
 			// Send prompt