fix: use loading spinner for library spinner (#6116)

This commit is contained in:
martin 2024-01-02 04:10:48 +01:00 committed by GitHub
parent 9a04014f98
commit c24d0e82bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View file

@ -1,7 +1,13 @@
<script lang="ts">
export let size: string = '24';
</script>
<div>
<svg
role="status"
class={`h-[24px] w-[24px] animate-spin fill-immich-primary text-gray-400 dark:text-gray-600`}
style:height="{size}px"
style:width="{size}px"
class="animate-spin fill-immich-primary text-gray-400 dark:text-gray-600"
viewBox="0 0 100 101"
fill="none"
xmlns="http://www.w3.org/2000/svg"