style
Browse files
src/lib/components/InferencePlayground/InferencePlaygroundCodeSnippets.svelte
CHANGED
@@ -455,9 +455,9 @@ print(output.choices[0].message)`,
|
|
455 |
<div class="flex gap-x-2 px-2 pt-6">
|
456 |
{#each clientSnippetsByLang[selectedLanguage] as { name }, idx}
|
457 |
<button
|
458 |
-
class="rounded-md px-1 py-0.5 {idx === selectedClientIdxByLang[selectedLanguage]
|
459 |
-
? 'bg-black text-
|
460 |
-
: ''}"
|
461 |
on:click={() => (selectedClientIdxByLang[selectedLanguage] = idx)}>{name}</button
|
462 |
>
|
463 |
{/each}
|
|
|
455 |
<div class="flex gap-x-2 px-2 pt-6">
|
456 |
{#each clientSnippetsByLang[selectedLanguage] as { name }, idx}
|
457 |
<button
|
458 |
+
class="rounded-md px-1.5 py-0.5 leading-tight {idx === selectedClientIdxByLang[selectedLanguage]
|
459 |
+
? 'bg-black text-gray-100 dark:bg-gray-600 dark:text-white'
|
460 |
+
: 'text-gray-500 hover:text-gray-600 dark:hover:text-gray-400'}"
|
461 |
on:click={() => (selectedClientIdxByLang[selectedLanguage] = idx)}>{name}</button
|
462 |
>
|
463 |
{/each}
|