fix(web): small fixes for empty placeholder (#7859)

This commit is contained in:
Michel Heusschen
2024-03-12 02:18:47 +01:00
committed by GitHub
parent 4023c665cc
commit b7e5407822
9 changed files with 18 additions and 50 deletions

View File

@@ -462,8 +462,7 @@
{:else}
<EmptyPlaceholder
text="Create an external library to view your photos and videos"
actionHandler={() => (toCreateLibrary = true)}
alt="Empty albums"
onClick={() => (toCreateLibrary = true)}
/>
{/if}
</div>

View File

@@ -203,12 +203,7 @@
<section class="w-full pb-28 sm:w-5/6 md:w-[850px]">
{#if matches.length + extras.length + orphans.length === 0}
<div class="w-full">
<EmptyPlaceholder
fullWidth
text="Untracked and missing files will show up here"
alt="Empty report"
src={empty4Url}
/>
<EmptyPlaceholder fullWidth text="Untracked and missing files will show up here" src={empty4Url} />
</div>
{:else}
<div class="gap-2">