mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac: styling
This commit is contained in:
parent
6ff84d8ec0
commit
05773bc831
3 changed files with 5 additions and 5 deletions
|
|
@ -602,7 +602,7 @@
|
||||||
id="message-{message.id}"
|
id="message-{message.id}"
|
||||||
dir={$settings.chatDirection}
|
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
|
<ProfileImage
|
||||||
src={model?.info?.meta?.profile_image_url ??
|
src={model?.info?.meta?.profile_image_url ??
|
||||||
($i18n.language === 'dg-DG' ? `/doge.png` : `${WEBUI_BASE_URL}/static/favicon.png`)}
|
($i18n.language === 'dg-DG' ? `/doge.png` : `${WEBUI_BASE_URL}/static/favicon.png`)}
|
||||||
|
|
@ -610,7 +610,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex-auto w-0 pl-1 relative -translate-y-0.5">
|
<div class="flex-auto w-0 pl-1 relative">
|
||||||
<Name>
|
<Name>
|
||||||
<Tooltip content={model?.name ?? message.model} placement="top-start">
|
<Tooltip content={model?.name ?? message.model} placement="top-start">
|
||||||
<span class="line-clamp-1 text-black dark:text-white">
|
<span class="line-clamp-1 text-black dark:text-white">
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
50% {
|
50% {
|
||||||
transform: scale(1.2);
|
transform: scale(1.25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.animate-size {
|
.animate-size {
|
||||||
animation: size 1s ease-in-out infinite;
|
animation: size 1.5s ease-in-out infinite;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@
|
||||||
id="message-{message.id}"
|
id="message-{message.id}"
|
||||||
>
|
>
|
||||||
{#if !($settings?.chatBubble ?? true)}
|
{#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
|
<ProfileImage
|
||||||
src={message.user
|
src={message.user
|
||||||
? ($models.find((m) => m.id === message.user)?.info?.meta?.profile_image_url ??
|
? ($models.find((m) => m.id === message.user)?.info?.meta?.profile_image_url ??
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue