mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
8e139b04f0
commit
2949be4f27
@ -15,8 +15,10 @@
|
|||||||
|
|
||||||
<div class="flex flex-col text-left gap-1 mt-1.5">
|
<div class="flex flex-col text-left gap-1 mt-1.5">
|
||||||
{#each followUps as followUp, idx (idx)}
|
{#each followUps as followUp, idx (idx)}
|
||||||
<button
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
||||||
class=" mr-2 py-1.5 bg-transparent text-left text-sm flex items-center gap-2 px-1.5 text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white transition"
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||||
|
<div
|
||||||
|
class=" mr-2 py-1.5 bg-transparent text-left text-sm flex items-center gap-2 px-1.5 text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white transition cursor-pointer"
|
||||||
on:click={() => onClick(followUp)}
|
on:click={() => onClick(followUp)}
|
||||||
title={followUp}
|
title={followUp}
|
||||||
aria-label={followUp}
|
aria-label={followUp}
|
||||||
@ -26,7 +28,7 @@
|
|||||||
<div class="line-clamp-1">
|
<div class="line-clamp-1">
|
||||||
{followUp}
|
{followUp}
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</div>
|
||||||
|
|
||||||
{#if idx < followUps.length - 1}
|
{#if idx < followUps.length - 1}
|
||||||
<hr class="border-gray-100 dark:border-gray-850" />
|
<hr class="border-gray-100 dark:border-gray-850" />
|
||||||
|
Loading…
Reference in New Issue
Block a user