refac: styling

This commit is contained in:
Timothy J. Baek 2024-10-05 15:47:51 -07:00
parent 9c18cf204d
commit ecd6a135cd
2 changed files with 7 additions and 3 deletions

View File

@ -266,13 +266,13 @@
<div class="w-full relative">
{#if atSelectedModel !== undefined}
<div
class="px-3 py-2.5 text-left w-full flex justify-between items-center absolute bottom-0.5 left-0 right-0 bg-gradient-to-t from-50% from-white dark:from-gray-900 z-10"
class="px-3 py-1 text-left w-full flex justify-between items-center absolute bottom-0 left-0 right-0 bg-gradient-to-t from-white dark:from-gray-900 z-10"
>
<div class="flex items-center gap-2 text-sm dark:text-gray-500">
<img
crossorigin="anonymous"
alt="model profile"
class="size-5 max-w-[28px] object-cover rounded-full"
class="size-4 max-w-[28px] object-cover rounded-full"
src={$models.find((model) => model.id === atSelectedModel.id)?.info?.meta
?.profile_image_url ??
($i18n.language === 'dg-DG'

View File

@ -175,7 +175,11 @@
</div>
</div>
<div class="text-base font-normal lg:translate-x-6 lg:max-w-3xl w-full py-3">
<div
class="text-base font-normal lg:translate-x-6 lg:max-w-3xl w-full py-3 {atSelectedModel
? 'mt-2'
: ''}"
>
<MessageInput
{history}
{selectedModels}