mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
chore(web): shared links style tweaks (#15960)
This commit is contained in:
parent
758449e9f0
commit
fb21950ad8
@ -154,6 +154,7 @@
|
|||||||
<hr class="my-4" />
|
<hr class="my-4" />
|
||||||
|
|
||||||
<Stack gap={6}>
|
<Stack gap={6}>
|
||||||
|
{#if sharedLinks.length > 0}
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex justify-between items-center">
|
||||||
<Text>{$t('shared_links')}</Text>
|
<Text>{$t('shared_links')}</Text>
|
||||||
<Link href={AppRoute.SHARED_LINKS} class="text-sm">{$t('view_all')}</Link>
|
<Link href={AppRoute.SHARED_LINKS} class="text-sm">{$t('view_all')}</Link>
|
||||||
@ -164,6 +165,7 @@
|
|||||||
<AlbumSharedLink {album} {sharedLink} />
|
<AlbumSharedLink {album} {sharedLink} />
|
||||||
{/each}
|
{/each}
|
||||||
</Stack>
|
</Stack>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<Button leadingIcon={mdiLink} size="small" shape="round" fullWidth onclick={onShare}>{$t('create_link')}</Button>
|
<Button leadingIcon={mdiLink} size="small" shape="round" fullWidth onclick={onShare}>{$t('create_link')}</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
<div>
|
<div class="w-full max-w-3xl m-auto">
|
||||||
{#if sharedLinks.length === 0}
|
{#if sharedLinks.length === 0}
|
||||||
<div
|
<div
|
||||||
class="flex place-content-center place-items-center rounded-lg bg-gray-100 dark:bg-immich-dark-gray dark:text-immich-gray p-12"
|
class="flex place-content-center place-items-center rounded-lg bg-gray-100 dark:bg-immich-dark-gray dark:text-immich-gray p-12"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user