refac: styling

This commit is contained in:
Timothy J. Baek 2024-10-06 11:54:57 -07:00
parent 91e1b548a9
commit e6265897c8

View File

@ -106,16 +106,16 @@
class="w-full text-3xl text-gray-800 dark:text-gray-100 font-medium text-center flex items-center gap-4 font-primary"
>
<div class="w-full flex flex-col justify-center items-center">
<div class="flex flex-col md:flex-row justify-center gap-2 md:gap-3.5 w-fit">
<div class="flex flex-shrink-0 justify-center">
<div class="flex -space-x-4 mb-0.5" in:fade={{ duration: 100 }}>
{#each models as model, modelIdx}
<Tooltip
className="flex flex-col md:flex-row justify-center gap-2 md:gap-3.5 w-fit"
content={(models[selectedModelIdx]?.info?.meta?.tags ?? [])
content={(models[modelIdx]?.info?.meta?.tags ?? [])
.map((tag) => tag.name.toUpperCase())
.join(', ')}
placement="top"
>
<div class="flex flex-shrink-0 justify-center">
<div class="flex -space-x-4 mb-0.5" in:fade={{ duration: 100 }}>
{#each models as model, modelIdx}
<button
on:click={() => {
selectedModelIdx = modelIdx;
@ -132,6 +132,7 @@
draggable="false"
/>
</button>
</Tooltip>
{/each}
</div>
</div>
@ -143,7 +144,7 @@
{$i18n.t('Hello, {{name}}', { name: $user.name })}
{/if}
</div>
</Tooltip>
</div>
<div class="flex mt-1 mb-2">
<div in:fade={{ duration: 100, delay: 50 }}>