update the path tooltip place

This commit is contained in:
Pavel Laptev 2024-11-18 16:20:05 +01:00 committed by estib
parent a3f6485f67
commit 7d866e0912

View File

@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import FileStatusBadge from './FileStatusBadge.svelte'; import FileStatusBadge from './FileStatusBadge.svelte';
import Button from '$lib/Button.svelte';
import Checkbox from '$lib/Checkbox.svelte'; import Checkbox from '$lib/Checkbox.svelte';
import Icon from '$lib/Icon.svelte'; import Icon from '$lib/Icon.svelte';
import Tooltip from '$lib/Tooltip.svelte'; import Tooltip from '$lib/Tooltip.svelte';
@ -95,14 +96,14 @@
{fileInfo.filename} {fileInfo.filename}
</span> </span>
<Tooltip text={filePath} delay={1500}>
<div class="path-container"> <div class="path-container">
<Tooltip text={filePath} delay={1200}>
<span class="text-12 path truncate"> <span class="text-12 path truncate">
{fileInfo.path} {fileInfo.path}
</span> </span>
</div>
</Tooltip> </Tooltip>
</div> </div>
</div>
<div class="details"> <div class="details">
{#if locked} {#if locked}