refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-05-24 01:56:02 +04:00
parent ffa5db4fec
commit abcf59ab2b
2 changed files with 33 additions and 31 deletions

View File

@ -138,7 +138,7 @@
</div>
</div>
<div class=" text-3xl @sm:text-4xl line-clamp-1" in:fade={{ duration: 100 }}>
<div class=" text-3xl @sm:text-3xl line-clamp-1" in:fade={{ duration: 100 }}>
{#if models[selectedModelIdx]?.name}
{models[selectedModelIdx]?.name}
{:else}

View File

@ -81,8 +81,9 @@
{/if}
</div>
<div class="max-h-40 overflow-auto scrollbar-none {className} items-start">
<div class="h-40 w-full">
{#if filteredPrompts.length > 0}
<div class="max-h-40 overflow-auto scrollbar-none items-start {className}">
{#each filteredPrompts as prompt, idx (prompt.id || prompt.content)}
<button
class="waterfall flex flex-col flex-1 shrink-0 w-full justify-between
@ -114,6 +115,7 @@
</div>
</button>
{/each}
</div>
{/if}
</div>