victor HF staff commited on
Commit
d6c1b24
·
1 Parent(s): e7e2635
src/lib/components/InferencePlayground/InferencePlayground.svelte CHANGED
@@ -201,7 +201,7 @@
201
  />
202
  </div>
203
  <div
204
- class="fixed inset-x-0 bottom-0 flex h-20 items-center gap-2 overflow-hidden whitespace-nowrap px-3 md:absolute"
205
  >
206
  <button
207
  type="button"
 
201
  />
202
  </div>
203
  <div
204
+ class="fixed inset-x-0 bottom-0 flex h-20 items-center gap-2 overflow-hidden whitespace-nowrap px-3 md:absolute bg-white dark:bg-gray-900"
205
  >
206
  <button
207
  type="button"
src/lib/components/InferencePlayground/InferencePlaygroundCodeSnippets.svelte CHANGED
@@ -272,10 +272,10 @@ print(output.choices[0].message)`,
272
  </div>
273
 
274
  {#each snippetsByLanguage[selectedLanguage] as { label, code, language }}
275
- <div class="flex items-center justify-between px-4 pb-4 pt-6">
276
  <h2 class="font-semibold">{label}</h2>
277
  <button
278
- class="flex items-center gap-x-1.5 rounded-md bg-gray-200 px-1.5 py-0.5 text-sm transition dark:bg-gray-950"
279
  on:click={e => {
280
  const el = e.currentTarget;
281
  el.classList.add("text-green-500");
 
272
  </div>
273
 
274
  {#each snippetsByLanguage[selectedLanguage] as { label, code, language }}
275
+ <div class="flex items-center justify-between px-2 md:px-4 pb-4 pt-6">
276
  <h2 class="font-semibold">{label}</h2>
277
  <button
278
+ class="flex items-center gap-x-1.5 rounded-md bg-gray-200 px-1.5 py-0.5 text-sm transition dark:bg-gray-950/80"
279
  on:click={e => {
280
  const el = e.currentTarget;
281
  el.classList.add("text-green-500");