victor HF staff commited on
Commit
e30fa56
1 Parent(s): 7ad8848

fix some spacing

Browse files
src/lib/components/InferencePlayground/InferencePlaygroundConversationHeader.svelte CHANGED
@@ -51,7 +51,9 @@
51
  {/if}
52
 
53
  <div
54
- class="flex h-11 flex-none items-center gap-2 whitespace-nowrap rounded-lg border border-gray-200/80 bg-white pl-3 pr-2 text-sm leading-none shadow-sm *:flex-none dark:border-gray-800 dark:bg-gray-800/70 dark:hover:bg-gray-800"
 
 
55
  >
56
  <div class="size-3.5 rounded bg-black dark:bg-gray-400"></div>
57
  <button on:click={() => (modelSelectorOpen = true)}>{conversation.model.id}</button>
 
51
  {/if}
52
 
53
  <div
54
+ class="{conversationIdx === 0
55
+ ? 'mr-4'
56
+ : 'mx-4'} flex h-11 flex-none items-center gap-2 whitespace-nowrap rounded-lg border border-gray-200/80 bg-white pl-3 pr-2 text-sm leading-none shadow-sm *:flex-none dark:border-gray-800 dark:bg-gray-800/70 dark:hover:bg-gray-800"
57
  >
58
  <div class="size-3.5 rounded bg-black dark:bg-gray-400"></div>
59
  <button on:click={() => (modelSelectorOpen = true)}>{conversation.model.id}</button>