diff options
author | Wolfgang Müller | 2024-07-13 17:29:33 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-07-22 14:08:40 +0200 |
commit | d297c6310a6a4db8dd7cc3efe6ff59620deadcc0 (patch) | |
tree | b47256337a095cef9df5b6ed9f9dfa5885eab79e /frontend/src/lib/reader/Reader.svelte | |
parent | f530348de4aa5db05eff44c801af6251200372cf (diff) | |
download | hircine-d297c6310a6a4db8dd7cc3efe6ff59620deadcc0.tar.gz |
frontend/reader: Show loading indicators
Sometimes images may not load fast enough, resulting in the app being
seemingly stuck displaying the same sets of images. Use a timeout to
detect when images take too long to load and show a spinner instead.
Diffstat (limited to '')
-rw-r--r-- | frontend/src/lib/reader/Reader.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/lib/reader/Reader.svelte b/frontend/src/lib/reader/Reader.svelte index 0b1450a..a8f9440 100644 --- a/frontend/src/lib/reader/Reader.svelte +++ b/frontend/src/lib/reader/Reader.svelte @@ -24,7 +24,7 @@ </aside> {/if} <main class="relative flex grow"> - <div class="absolute flex w-full p-1 text-lg [&>*:last-child]:ml-auto"> + <div class="absolute z-10 flex w-full p-1 text-lg [&>*:last-child]:ml-auto"> {#if $$slots.sidebar} <ReaderMenuButton /> {/if} |