From 41504b9a2cd2e78a93e02b6f6d88a945d9a71044 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:09:11 +0100 Subject: [PATCH] fix(web): asset viewer navigation buttons (#7888) --- .../lib/components/asset-viewer/asset-viewer.svelte | 12 ++++++------ .../components/asset-viewer/navigation-area.svelte | 10 ++++++++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index 5f32c000c2..b1f70cbeb5 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -592,9 +592,9 @@ {#if $slideshowState === SlideshowState.None && showNavigation}
- navigateAsset('previous', e)} - > + navigateAsset('previous', e)} label="View previous asset"> + +
{/if} @@ -708,9 +708,9 @@ {#if $slideshowState === SlideshowState.None && showNavigation}
- navigateAsset('next', e)} - > + navigateAsset('next', e)} label="View next asset"> + +
{/if} diff --git a/web/src/lib/components/asset-viewer/navigation-area.svelte b/web/src/lib/components/asset-viewer/navigation-area.svelte index 093f555888..efa2761cb1 100644 --- a/web/src/lib/components/asset-viewer/navigation-area.svelte +++ b/web/src/lib/components/asset-viewer/navigation-area.svelte @@ -1,9 +1,15 @@ -
-