Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

keep uploader always first item

JovannMC1f01c3252174
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 11b3340..a54822c 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -112,7 +112,7 @@
<!-- FIXME: if user resizes between desktop/mobile, highlight of page disappears (only shows on original size) -->
<!-- FIXME: if user has to scroll in a page, transitioning to a page that fits users viewport makes the elements jump after transition ends -->
- <div class="flex flex-col">
+ <div>
<!-- Mobile logo -->
<div class="flex md:hidden justify-center items-center p-8">
<div
@@ -152,7 +152,7 @@
<!-- Mobile navbar -->
- <div class="flex flex-col">
+ <div>
<div
class="hidden md:block w-full h-14 border-t border-separator relative"
>
diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte
index 428c3cf..631085d 100644
--- a/src/routes/convert/+page.svelte
+++ b/src/routes/convert/+page.svelte
@@ -101,18 +101,10 @@
<div
class="w-full max-w-[794px] grid grid-cols-1 md:grid-cols-2 auto-rows-[240px] gap-4 md:p-0"
>
+ <Uploader class="w-full h-full" />
{#each files.files as file, i (file.id)}
- {#if files.files.length >= 2 && i === 1}
- <Uploader class="w-full h-full" />
- {/if}
{@render fileItem(file, i)}
- {#if files.files.length < 2}
- <Uploader class="w-full h-full" />
- {/if}
{/each}
- {#if files.files.length === 0}
- <Uploader class="w-full h-full" />
- {/if}
</div>
</div>