From 5cc14b26400d97e85e96c785f64a96b78b982d41 Mon Sep 17 00:00:00 2001 From: JovannMC Date: Mon, 13 Jan 2025 17:08:54 +0300 Subject: [PATCH] change conversion page grid revert to previous behaviour (always on right of first row) and always show uploader first on mobile --- src/routes/convert/+page.svelte | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte index cf4eb24..ae5fac7 100644 --- a/src/routes/convert/+page.svelte +++ b/src/routes/convert/+page.svelte @@ -119,10 +119,18 @@
- {#each files.files as file, i (file.id)} + {#if files.files.length >= 2 && i === 1} + + {/if} {@render fileItem(file, i)} + {#if files.files.length < 2} + + {/if} {/each} + {#if files.files.length === 0} + + {/if}