feat: nahráno only for xl

This commit is contained in:
EETagent 2022-12-03 21:46:45 +01:00
parent 4c6b2b11ca
commit 7f522719d1

View file

@ -102,7 +102,7 @@
<div class="w-24"> <div class="w-24">
<img class="w-full" src={filetype == 'PDF' ? documentIcon : archiveIcon} alt="Icon" /> <img class="w-full" src={filetype == 'PDF' ? documentIcon : archiveIcon} alt="Icon" />
</div> </div>
<svg class="h-25" viewBox="0 0 2 40" xmlns="http://www.w3.org/2000/svg" <svg class="hidden xl:block h-25" viewBox="0 0 2 40" xmlns="http://www.w3.org/2000/svg"
><line ><line
x1="0" x1="0"
y="0" y="0"
@ -113,7 +113,7 @@
stroke-dasharray="3" stroke-dasharray="3"
/></svg /></svg
> >
<div class="items-center"> <div class="hidden xl:block items-center">
{#if bytesTotal === 0 || Math.round(progress * 100) === 100} {#if bytesTotal === 0 || Math.round(progress * 100) === 100}
<h2 class="text-xl font-bold">{status === 'submitted' ? 'Odesláno' : 'Nahráno'}</h2> <h2 class="text-xl font-bold">{status === 'submitted' ? 'Odesláno' : 'Nahráno'}</h2>
{:else} {:else}