Skip to content

Commit

Permalink
fix: loading bug
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Lauber <jan.lauber@protonmail.ch>
  • Loading branch information
janlauber committed May 29, 2024
1 parent 575c6a1 commit 3a597b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/routes/app/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@
</Breadcrumb>
</div>

{#if $loading}
<div class="absolute top-0 left-0 right-0 bottom-0 flex justify-center items-center">
{#if $loading && $page.url.pathname.startsWith("/app/projects/")}
<div
class="absolute top-16 left-64 right-0 bottom-0 flex justify-center items-center bg-gray-50 dark:bg-slate-800 z-20"
>
<span class="">
<Spinner />
</span>
Expand Down

0 comments on commit 3a597b9

Please sign in to comment.