fix thumbnail object cover
Browse files
src/routes/assistant/[assistantId]/thumbnail.png/ChatThumbnail.svelte
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<div class="flex h-full w-full flex-col items-center justify-center bg-black p-2">
|
11 |
<div class="flex w-full max-w-[540px] items-start justify-center text-white">
|
12 |
{#if avatar}
|
13 |
-
<img class="h-64 w-64 rounded-full" src={avatar} alt="avatar" />
|
14 |
{/if}
|
15 |
<div class="ml-10 flex flex-col items-start">
|
16 |
<p class="mb-2 mt-0 text-3xl font-normal text-gray-400">
|
|
|
10 |
<div class="flex h-full w-full flex-col items-center justify-center bg-black p-2">
|
11 |
<div class="flex w-full max-w-[540px] items-start justify-center text-white">
|
12 |
{#if avatar}
|
13 |
+
<img class="h-64 w-64 rounded-full" style="object-fit: cover;" src={avatar} alt="avatar" />
|
14 |
{/if}
|
15 |
<div class="ml-10 flex flex-col items-start">
|
16 |
<p class="mb-2 mt-0 text-3xl font-normal text-gray-400">
|