refac
This commit is contained in:
@@ -1511,7 +1511,7 @@
|
||||
{/if}
|
||||
|
||||
{#if (isLastMessage || ($settings?.keepFollowUpPrompts ?? false)) && message.done && !readOnly && (message?.followUps ?? []).length > 0}
|
||||
<div class="mt-2.5" in:fade={{ duration: 100 }}>
|
||||
<div class="my-2.5" in:fade={{ duration: 100 }}>
|
||||
<FollowUps
|
||||
followUps={message?.followUps}
|
||||
onClick={(prompt) => {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
{#each followUps as followUp, idx (idx)}
|
||||
<Tooltip content={followUp} placement="top-start" className="line-clamp-1">
|
||||
<button
|
||||
class=" py-1.5 bg-transparent text-left text-sm flex items-center gap-2 text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white transition cursor-pointer w-full"
|
||||
class=" py-1 bg-transparent text-left text-sm flex items-center gap-2 text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white transition cursor-pointer w-full"
|
||||
on:click={() => onClick(followUp)}
|
||||
aria-label={$i18n.t('Follow up: {{question}}', { question: followUp })}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user