mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-22 08:45:13 +02:00
feat: Added library sorting and pagination, improved image loading and other small adjustments
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
export let progress = 0;
|
||||
let mounted = false;
|
||||
onMount(() => {
|
||||
mounted = true;
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="h-1 bg-zinc-200 bg-opacity-20 rounded-full overflow-hidden">
|
||||
<div style={'width: ' + progress + '%'} class="h-full bg-zinc-200 bg-opacity-80" />
|
||||
<div
|
||||
style={'max-width: ' + (mounted ? progress : 0) + '%'}
|
||||
class="h-full bg-zinc-200 bg-opacity-80 transition-[max-width] delay-200 duration-500"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user