mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
refac: styling
This commit is contained in:
parent
9aac148908
commit
955fc5c736
1 changed files with 2 additions and 5 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||||
import ArrowTurnDownRight from '$lib/components/icons/ArrowTurnDownRight.svelte';
|
|
||||||
import { onMount, tick, getContext } from 'svelte';
|
import { onMount, tick, getContext } from 'svelte';
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
|
|
@ -20,12 +19,10 @@
|
||||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||||
<Tooltip content={followUp} placement="top-start" className="line-clamp-1">
|
<Tooltip content={followUp} placement="top-start" className="line-clamp-1">
|
||||||
<div
|
<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"
|
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"
|
||||||
on:click={() => onClick(followUp)}
|
on:click={() => onClick(followUp)}
|
||||||
aria-label={followUp}
|
aria-label={followUp}
|
||||||
>
|
>
|
||||||
<ArrowTurnDownRight className="size-3.5" />
|
|
||||||
|
|
||||||
<div class="line-clamp-1">
|
<div class="line-clamp-1">
|
||||||
{followUp}
|
{followUp}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -33,7 +30,7 @@
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
{#if idx < followUps.length - 1}
|
{#if idx < followUps.length - 1}
|
||||||
<hr class="border-gray-100 dark:border-gray-850" />
|
<hr class="border-gray-50 dark:border-gray-850" />
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue