refac: styling

This commit is contained in:
Timothy Jaeryang Baek committed 2025-05-24 01:56:02 +04:00
1 parent ffa5db4fec
commit abcf59ab2b
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@
</div> </div>
</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} {#if models[selectedModelIdx]?.name}
{models[selectedModelIdx]?.name} {models[selectedModelIdx]?.name}
{:else} {:else}
+3 -1
View File
@@ -81,8 +81,9 @@
{/if} {/if}
</div> </div>
<div class="max-h-40 overflow-auto scrollbar-none {className} items-start"> <div class="h-40 w-full">
{#if filteredPrompts.length > 0} {#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)} {#each filteredPrompts as prompt, idx (prompt.id || prompt.content)}
<button <button
class="waterfall flex flex-col flex-1 shrink-0 w-full justify-between class="waterfall flex flex-col flex-1 shrink-0 w-full justify-between
@@ -114,6 +115,7 @@
</div> </div>
</button> </button>
{/each} {/each}
</div>
{/if} {/if}
</div> </div>