mirror of https://github.com/VERT-sh/VERT.git
Merge branch 'main' into nightly
This commit is contained in:
commit
e0f26ba488
|
@ -280,7 +280,9 @@
|
||||||
{#each reversedFiles as file, i (file.id)}
|
{#each reversedFiles as file, i (file.id)}
|
||||||
{@const converter = (() => {
|
{@const converter = (() => {
|
||||||
return converters.find((c) =>
|
return converters.find((c) =>
|
||||||
c.supportedFormats.includes(file.from),
|
c.supportedFormats.includes(
|
||||||
|
file.from.toLowerCase(),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
})()}
|
})()}
|
||||||
<div
|
<div
|
||||||
|
@ -395,7 +397,7 @@
|
||||||
<div
|
<div
|
||||||
class="flex items-center justify-center gap-3 w-full pb-4"
|
class="flex items-center justify-center gap-3 w-full pb-4"
|
||||||
>
|
>
|
||||||
{#if converter && converter.supportedFormats.includes(file.from)}
|
{#if converter && converter.supportedFormats.includes(file.from.toLowerCase())}
|
||||||
<span>from</span>
|
<span>from</span>
|
||||||
<span
|
<span
|
||||||
class="py-2 px-3 font-display bg-foreground text-background rounded-xl"
|
class="py-2 px-3 font-display bg-foreground text-background rounded-xl"
|
||||||
|
@ -452,7 +454,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{#if converter && converter.supportedFormats.includes(file.from)}
|
{#if converter && converter.supportedFormats.includes(file.from.toLowerCase())}
|
||||||
<!-- god knows why, but setting opacity > 0.98 causes a z-ordering issue in firefox ??? -->
|
<!-- god knows why, but setting opacity > 0.98 causes a z-ordering issue in firefox ??? -->
|
||||||
<div
|
<div
|
||||||
class="absolute top-[0px] -z-50 left-0 w-full h-full opacity-[0.98] rounded-xl overflow-hidden"
|
class="absolute top-[0px] -z-50 left-0 w-full h-full opacity-[0.98] rounded-xl overflow-hidden"
|
||||||
|
|
Loading…
Reference in New Issue