victor HF staff commited on
Commit
7849c46
β€’
1 Parent(s): 382cad0
src/lib/components/InferencePlayground/InferencePlayground.svelte CHANGED
@@ -324,7 +324,7 @@
324
  </div>
325
  <div class="relative divide-y divide-gray-200 dark:divide-gray-800" on:keydown={onKeydown}>
326
  <div
327
- class="flex h-[calc(100dvh-5rem-120px)] divide-x divide-gray-200 overflow-x-auto *:w-full max-sm:w-dvw md:h-[calc(100dvh-5rem)] md:pt-3 dark:divide-gray-800"
328
  >
329
  {#each session.conversations as conversation, conversationIdx}
330
  <div class="max-sm:min-w-full">
 
324
  </div>
325
  <div class="relative divide-y divide-gray-200 dark:divide-gray-800" on:keydown={onKeydown}>
326
  <div
327
+ class="flex h-[calc(100dvh-5rem-120px)] divide-x divide-gray-200 overflow-x-auto overflow-y-hidden *:w-full max-sm:w-dvw md:h-[calc(100dvh-5rem)] md:pt-3 dark:divide-gray-800"
328
  >
329
  {#each session.conversations as conversation, conversationIdx}
330
  <div class="max-sm:min-w-full">
src/lib/components/InferencePlayground/InferencePlaygroundConversationHeader.svelte CHANGED
@@ -63,13 +63,13 @@
63
  >{conversation.model.id}</button
64
  >
65
  <button
66
- class="flex size-6 items-center justify-center rounded bg-gray-50 text-xs hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600"
67
  on:click={() => dispatch("close", conversation.model.id)}
68
  >
69
  βœ•
70
  </button>
71
  <button
72
- class="group relative flex size-6 items-center justify-center rounded bg-gray-50 hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600"
73
  >
74
  <IconCog />
75
  <GenerationConfig
 
63
  >{conversation.model.id}</button
64
  >
65
  <button
66
+ class="flex size-6 items-center justify-center rounded border bg-gray-50 text-xs hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600"
67
  on:click={() => dispatch("close", conversation.model.id)}
68
  >
69
  βœ•
70
  </button>
71
  <button
72
+ class="group relative flex size-6 items-center justify-center rounded border bg-gray-50 hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600"
73
  >
74
  <IconCog />
75
  <GenerationConfig