summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/gallery
diff options
context:
space:
mode:
authorWolfgang Müller2024-11-22 18:15:31 +0100
committerWolfgang Müller2024-11-22 18:15:31 +0100
commit940ef5c245d29b1441bfa1a88c808f637075b109 (patch)
tree58ce0f429f8cd16f4d5003c39085dd1ab3803325 /frontend/src/lib/gallery
parent92e087a1d9a837517496c2e4b577ee51b3bba80e (diff)
downloadhircine-940ef5c245d29b1441bfa1a88c808f637075b109.tar.gz
frontend: Ignore tabindex for container divs
These two break the tabbing flow, instead focus the next item within the container.
Diffstat (limited to 'frontend/src/lib/gallery')
-rw-r--r--frontend/src/lib/gallery/Gallery.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/lib/gallery/Gallery.svelte b/frontend/src/lib/gallery/Gallery.svelte
index c3b6386..964c677 100644
--- a/frontend/src/lib/gallery/Gallery.svelte
+++ b/frontend/src/lib/gallery/Gallery.svelte
@@ -5,7 +5,7 @@
export let pages: PageFragment[];
</script>
-<div class="max-h-full gap-2 overflow-auto p-1 pr-3">
+<div class="max-h-full gap-2 overflow-auto p-1 pr-3" tabindex="-1">
{#each pages as page, index}
<GalleryPage {page} {index} on:open on:cover />
{/each}