refac: styling

This commit is contained in:
Timothy J. Baek 2024-04-30 15:31:50 -07:00
parent 3043e43418
commit 6318282873
2 changed files with 80 additions and 78 deletions

View file

@ -277,7 +277,8 @@
// }; // };
</script> </script>
{#if messages.length == 0} <div class="h-full">
{#if messages.length == 0}
<Placeholder <Placeholder
models={selectedModels} models={selectedModels}
modelfiles={selectedModelfiles} modelfiles={selectedModelfiles}
@ -295,7 +296,7 @@
} }
}} }}
/> />
{:else} {:else}
<div class="pt-2 pb-10"> <div class="pt-2 pb-10">
{#key chatId} {#key chatId}
{#each messages as message, messageIdx} {#each messages as message, messageIdx}
@ -358,4 +359,5 @@
{/if} {/if}
{/key} {/key}
</div> </div>
{/if} {/if}
</div>

View file

@ -24,7 +24,7 @@
</script> </script>
{#if models.length > 0} {#if models.length > 0}
<div class=" my-auto text-center pb-10 md:pb-32"> <div class=" text-center py-24 md:py-36">
<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-0.5"> <div class="flex -space-x-4 mb-0.5">