chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-05-08 11:44:03 +02:00
parent e33d448055
commit d2134668b1
25 changed files with 109 additions and 171 deletions

View file

@ -105,9 +105,9 @@
<Tr t={t.addPicture} />
{/if}
{#if noBlur}
<span class="subtle text-sm">
<Tr t={t.upload.noBlur} />
</span>
<span class="subtle text-sm">
<Tr t={t.upload.noBlur} />
</span>
{/if}
</div>
</div>
@ -124,20 +124,21 @@
}}
>
<div class="hidden md:block">
<div class="flex w-full">
{#if image !== undefined}
<img alt="" src={image} aria-hidden="true" />
{:else}
<Camera class="h-12 w-12 p-1" aria-hidden="true" />
{/if}
<ArrowUpTray class="w-6 h-6 p-0.5 bg-white rounded-full self-end" style="margin-left: -1rem" />
<ArrowUpTray
class="h-6 w-6 self-end rounded-full bg-white p-0.5"
style="margin-left: -1rem"
/>
</div>
</div>
<div class="flex flex-col ">
<div class="flex flex-col">
{#if labelText}
<div class="md:text-2xl text-center ">
<div class="text-center md:text-2xl">
{labelText}
</div>
<Tr t={t.selectFile} />
@ -145,12 +146,11 @@
<Tr cls="md:text-2xl text-center" t={t.selectFile} />
{/if}
{#if noBlur}
<span class="subtle text-sm">
<Tr t={t.upload.noBlur} />
</span>
<span class="subtle text-sm">
<Tr t={t.upload.noBlur} />
</span>
{/if}
</div>
</FileSelector>
<div class="subtle text-xs italic">

View file

@ -54,9 +54,8 @@
{#if $pending - $failed > 0}
<div class="alert">
<Loading>
<div class="w-full flex flex-col">
<div class="w-full flex justify-between gap-x-8">
<div class="flex w-full flex-col">
<div class="flex w-full justify-between gap-x-8">
{#if $pending - $failed === 1}
<Tr t={t.upload.one.uploading} />
{:else if $pending - $failed > 1}
@ -67,8 +66,8 @@
{/if}
</div>
{#if $progress !== undefined}
<div class="w-full low-interaction h-1 rounded-full overflow-hidden">
<div class="bg-black h-1" style={`width: calc(${$progress}%)`}></div>
<div class="low-interaction h-1 w-full overflow-hidden rounded-full">
<div class="h-1 bg-black" style={`width: calc(${$progress}%)`} />
</div>
{/if}
</div>