Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit c414477

Browse files
authored
fix(svelte): Center file tree loading indicator (#64309)
We should probably redesign the whole loading state but this simple change is still better than the current behavior. | Before | After | |--------|--------| | ![2024-08-06_21-00_1](https://github.com/user-attachments/assets/015d47d3-9542-4d72-b422-56975723576c) | ![2024-08-06_21-00](https://github.com/user-attachments/assets/0e667bc2-496e-4169-806d-b49757681673) | ## Test plan Manual testing.
1 parent b0bb67b commit c414477

File tree

1 file changed

+1
-1
lines changed
  • client/web-sveltekit/src/routes/[...repo=reporev]/(validrev)/(code)

1 file changed

+1
-1
lines changed

client/web-sveltekit/src/routes/[...repo=reporev]/(validrev)/(code)/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
/>
249249
{/if}
250250
{:else}
251-
<LoadingSpinner center={false} />
251+
<LoadingSpinner />
252252
{/if}
253253
</div>
254254
</div>

0 commit comments

Comments
 (0)