refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-07-02 14:58:28 +04:00
parent 6ff84d8ec0
commit 05773bc831
3 changed files with 5 additions and 5 deletions

View file

@ -602,7 +602,7 @@
id="message-{message.id}"
dir={$settings.chatDirection}
>
<div class={`shrink-0 ltr:mr-3 rtl:ml-3 hidden @lg:flex `}>
<div class={`shrink-0 ltr:mr-3 rtl:ml-3 hidden @lg:flex mt-1 `}>
<ProfileImage
src={model?.info?.meta?.profile_image_url ??
($i18n.language === 'dg-DG' ? `/doge.png` : `${WEBUI_BASE_URL}/static/favicon.png`)}
@ -610,7 +610,7 @@
/>
</div>
<div class="flex-auto w-0 pl-1 relative -translate-y-0.5">
<div class="flex-auto w-0 pl-1 relative">
<Name>
<Tooltip content={model?.name ?? message.model} placement="top-start">
<span class="line-clamp-1 text-black dark:text-white">

View file

@ -20,11 +20,11 @@
transform: scale(1);
}
50% {
transform: scale(1.2);
transform: scale(1.25);
}
}
.animate-size {
animation: size 1s ease-in-out infinite;
animation: size 1.5s ease-in-out infinite;
}
</style>

View file

@ -113,7 +113,7 @@
id="message-{message.id}"
>
{#if !($settings?.chatBubble ?? true)}
<div class={`shrink-0 ltr:mr-3 rtl:ml-3`}>
<div class={`shrink-0 ltr:mr-3 rtl:ml-3 mt-1`}>
<ProfileImage
src={message.user
? ($models.find((m) => m.id === message.user)?.info?.meta?.profile_image_url ??