mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-08 03:08:02 +00:00
refac
This commit is contained in:
parent
b3aead23da
commit
dbdacf2678
2 changed files with 2 additions and 2 deletions
|
|
@ -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 })}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue