|
@@ -1,4 +1,5 @@
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
|
+ import Tooltip from '$lib/components/common/Tooltip.svelte';
|
|
import ArrowTurnDownRight from '$lib/components/icons/ArrowTurnDownRight.svelte';
|
|
import ArrowTurnDownRight from '$lib/components/icons/ArrowTurnDownRight.svelte';
|
|
import { onMount, tick, getContext } from 'svelte';
|
|
import { onMount, tick, getContext } from 'svelte';
|
|
|
|
|
|
@@ -17,18 +18,20 @@
|
|
{#each followUps as followUp, idx (idx)}
|
|
{#each followUps as followUp, idx (idx)}
|
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
|
<!-- 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)}
|
|
|
|
- title={followUp}
|
|
|
|
- aria-label={followUp}
|
|
|
|
- >
|
|
|
|
- <ArrowTurnDownRight className="size-3.5" />
|
|
|
|
|
|
+ <Tooltip content={followUp} placement="top-start" className="line-clamp-1">
|
|
|
|
+ <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)}
|
|
|
|
+ title={followUp}
|
|
|
|
+ aria-label={followUp}
|
|
|
|
+ >
|
|
|
|
+ <ArrowTurnDownRight className="size-3.5" />
|
|
|
|
|
|
- <div class="line-clamp-1">
|
|
|
|
- {followUp}
|
|
|
|
|
|
+ <div class="line-clamp-1">
|
|
|
|
+ {followUp}
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </Tooltip>
|
|
|
|
|
|
{#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" />
|