refac: styling

This commit is contained in:
Timothy J. Baek 2024-04-30 15:12:58 -07:00
parent f653944849
commit 1157b8e12d

View file

@ -27,7 +27,7 @@
<div class=" my-auto text-center pb-10 md:pb-24"> <div class=" my-auto text-center pb-10 md:pb-24">
<div class="m-auto max-w-3xl px-8"> <div class="m-auto max-w-3xl px-8">
<div class="flex justify-start mt-8"> <div class="flex justify-start mt-8">
<div class="flex -space-x-4 mb-1"> <div class="flex -space-x-4 mb-0.5">
{#each models as model, modelIdx} {#each models as model, modelIdx}
<button <button
on:click={() => { on:click={() => {
@ -38,7 +38,7 @@
<img <img
src={modelfiles[model]?.imageUrl ?? `${WEBUI_BASE_URL}/static/favicon.png`} src={modelfiles[model]?.imageUrl ?? `${WEBUI_BASE_URL}/static/favicon.png`}
alt="modelfile" alt="modelfile"
class=" size-12 rounded-full border-[1px] border-gray-200 dark:border-none" class=" size-[2.7rem] rounded-full border-[1px] border-gray-200 dark:border-none"
draggable="false" draggable="false"
/> />
{:else} {:else}
@ -46,7 +46,7 @@
src={$i18n.language === 'dg-DG' src={$i18n.language === 'dg-DG'
? `/doge.png` ? `/doge.png`
: `${WEBUI_BASE_URL}/static/favicon.png`} : `${WEBUI_BASE_URL}/static/favicon.png`}
class=" size-12 rounded-full border-[1px] border-gray-200 dark:border-none" class=" size-[2.7rem] rounded-full border-[1px] border-gray-200 dark:border-none"
alt="logo" alt="logo"
draggable="false" draggable="false"
/> />