Browse Source

refac: styling

Timothy Jaeryang Baek 2 months ago
parent
commit
d2a3aacaba
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/lib/components/chat/Controls/Controls.svelte

+ 4 - 4
src/lib/components/chat/Controls/Controls.svelte

@@ -68,11 +68,11 @@
 						<Valves show={showValves} />
 					</div>
 				</Collapsible>
-			{/if}
 
-			{#if $user?.role === 'admin' || ($user?.permissions.chat?.system_prompt ?? true)}
 				<hr class="my-2 border-gray-50 dark:border-gray-700/10" />
+			{/if}
 
+			{#if $user?.role === 'admin' || ($user?.permissions.chat?.system_prompt ?? true)}
 				<Collapsible title={$i18n.t('System Prompt')} open={true} buttonClassName="w-full">
 					<div class="" slot="content">
 						<textarea
@@ -85,11 +85,11 @@
 						/>
 					</div>
 				</Collapsible>
-			{/if}
 
-			{#if $user?.role === 'admin' || ($user?.permissions.chat?.params ?? true)}
 				<hr class="my-2 border-gray-50 dark:border-gray-700/10" />
+			{/if}
 
+			{#if $user?.role === 'admin' || ($user?.permissions.chat?.params ?? true)}
 				<Collapsible title={$i18n.t('Advanced Params')} open={true} buttonClassName="w-full">
 					<div class="text-sm mt-1.5" slot="content">
 						<div>