refac: playground

This commit is contained in:
Timothy J. Baek
2024-10-21 15:24:59 -07:00
parent 39e3afd55d
commit c03cccfd14
10 changed files with 294 additions and 114 deletions

View File

@@ -42,6 +42,7 @@
}[] = [];
export let className = 'w-[32rem]';
export let triggerClassName = 'text-lg';
let show = false;
@@ -236,7 +237,7 @@
id="model-selector-{id}-button"
>
<div
class="flex w-full text-left px-0.5 outline-none bg-transparent truncate text-lg font-medium placeholder-gray-400 focus:outline-none"
class="flex w-full text-left px-0.5 outline-none bg-transparent truncate {triggerClassName} justify-between font-medium placeholder-gray-400 focus:outline-none"
>
{#if selectedModel}
{selectedModel.label}