mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-22 00:35:12 +02:00
Initial work on seasons section
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
export let available = true;
|
||||
export let progress = 0;
|
||||
export let size: 'dynamic' | 'normal' | 'large' = 'normal';
|
||||
export let size: 'dynamic' | 'md' | 'large' = 'md';
|
||||
export let randomProgress = false;
|
||||
if (randomProgress) {
|
||||
progress = Math.random() > 0.3 ? Math.random() * 100 : 0;
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<div
|
||||
class={classNames('rounded overflow-hidden relative shadow-2xl shrink-0 aspect-video', {
|
||||
'h-40': size === 'normal',
|
||||
'h-40': size === 'md',
|
||||
'h-60': size === 'large',
|
||||
'w-full': size === 'dynamic'
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user