瀏覽代碼

refac: styling

Timothy Jaeryang Baek 5 月之前
父節點
當前提交
96b9f81ca7
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 3 3
      src/lib/components/chat/Chat.svelte
  2. 2 2
      src/lib/components/chat/MessageInput.svelte

+ 3 - 3
src/lib/components/chat/Chat.svelte

@@ -2284,7 +2284,7 @@
 							</div>
 						</div>
 
-						<div class=" pb-[1.6rem]">
+						<div class=" pb-[1rem]">
 							<MessageInput
 								{history}
 								{selectedModels}
@@ -2319,9 +2319,9 @@
 							/>
 
 							<div
-								class="absolute bottom-1.5 text-xs text-gray-500 text-center line-clamp-1 right-0 left-0"
+								class="absolute bottom-1 text-xs text-gray-500 text-center line-clamp-1 right-0 left-0"
 							>
-								{$i18n.t('LLMs can make mistakes. Verify important information.')}
+								<!-- {$i18n.t('LLMs can make mistakes. Verify important information.')} -->
 							</div>
 						</div>
 					{:else}

+ 2 - 2
src/lib/components/chat/MessageInput.svelte

@@ -272,7 +272,7 @@
 {#if loaded}
 	<div class="w-full font-primary">
 		<div class=" -mb-0.5 mx-auto inset-x-0 bg-transparent flex justify-center">
-			<div class="flex flex-col px-2.5 max-w-6xl w-full">
+			<div class="flex flex-col px-3 max-w-6xl w-full">
 				<div class="relative">
 					{#if autoScroll === false && history?.currentId}
 						<div
@@ -410,7 +410,7 @@
 		</div>
 
 		<div class="{transparentBackground ? 'bg-transparent' : 'bg-white dark:bg-gray-900'} ">
-			<div class="max-w-6xl px-4 mx-auto inset-x-0">
+			<div class="max-w-6xl px-2.5 mx-auto inset-x-0">
 				<div class="">
 					<input
 						bind:this={filesInputElement}