diff --git a/src/lib/components/layout/Navbar/Base.svelte b/src/lib/components/layout/Navbar/Base.svelte index 515bae3..29a9416 100644 --- a/src/lib/components/layout/Navbar/Base.svelte +++ b/src/lib/components/layout/Navbar/Base.svelte @@ -21,6 +21,7 @@ import Panel from "../../visual/Panel.svelte"; import Logo from "../../visual/svg/Logo.svelte"; import { beforeNavigate } from "$app/navigation"; + import Tooltip from "$lib/components/visual/Tooltip.svelte"; const items = $derived< { @@ -182,16 +183,18 @@ {@render link(item, i)} {/each} - + + + diff --git a/src/lib/components/visual/Tooltip.svelte b/src/lib/components/visual/Tooltip.svelte index 1855118..655f5fb 100644 --- a/src/lib/components/visual/Tooltip.svelte +++ b/src/lib/components/visual/Tooltip.svelte @@ -57,7 +57,13 @@ } .tooltip-top::after { - @apply content-[""] absolute top-full left-1/2 -ml-2 border-x-transparent border-b-transparent border-t-inherit; + @apply content-[""] absolute top-full left-1/2 -translate-x-1/2 border-8 border-x-transparent border-b-transparent; + } + + .tooltip-top::before { + border-width: calc(var(--border-size) + 8px); + margin-left: calc(-1 * (var(--border-size) + 8px)); + @apply content-[""] absolute top-full left-1/2 border-x-transparent border-b-transparent border-t-inherit; } .tooltip-bottom { diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte index 58fc205..9b21bab 100644 --- a/src/routes/convert/+page.svelte +++ b/src/routes/convert/+page.svelte @@ -14,7 +14,7 @@ vertdLoaded, } from "$lib/store/index.svelte"; import { addToast } from "$lib/store/ToastProvider"; - import { VertFile, type Categories } from "$lib/types"; + import { VertFile } from "$lib/types"; import { AudioLines, BookText, @@ -129,15 +129,25 @@
{#if !converters.length} - + + + {:else if isAudio} - + + + {:else if isVideo} - + + + {:else if isDocument} - + + + {:else} - + + + {/if}
{#if file.processing}