mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix: Hide play bar when there's only one image in memory (#7764)
* fix: Hide play bar when there's only one image in memory This commit introduces a fixto hide the play bar at the top of the memory viewer when there's only one image in the memory. Previously, the play bar was displayed regardless of the number of images, leading to unnecessary UI elements for single-image memories. * Update web/src/lib/components/memory-page/memory-viewer.svelte Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> --------- Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
bbed14a9ff
commit
a94e45260e
@ -112,7 +112,7 @@
|
||||
</p>
|
||||
</svelte:fragment>
|
||||
|
||||
{#if !galleryInView}
|
||||
{#if canGoForward}
|
||||
<div class="flex place-content-center place-items-center gap-2 overflow-hidden">
|
||||
<CircleIconButton icon={paused ? mdiPlay : mdiPause} forceDark on:click={() => (paused = !paused)} />
|
||||
|
||||
@ -268,7 +268,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- GALERY VIEWER -->
|
||||
<!-- GALLERY VIEWER -->
|
||||
|
||||
<section class="bg-immich-dark-gray m-4">
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user