Code cleanup

This commit is contained in:
Aleksi Lassila
2023-08-05 19:40:16 +03:00
parent 9532b4b433
commit f874df51e1
7 changed files with 2 additions and 9 deletions

View File

@@ -338,7 +338,6 @@
on:download={() => setTimeout(refetch, 5000)}
/>
{:else if isAdded && servarrId && type === 'tv' && series?.statistics?.seasonCount}
{console.log(series)}
<SeriesRequestModal
modalProps={requestModalProps}
sonarrId={servarrId}

View File

@@ -103,7 +103,7 @@
<div class="grid">
<div
class="min-h-max h-screen w-screen overflow-hidden row-start-1 col-start-1 relative"
class="min-h-max h-screen relative overflow-hidden"
out:fade={{ duration }}
in:fade={{ delay: duration, duration }}
>

View File

@@ -16,7 +16,7 @@
<div class="flex flex-col max-h-screen bg-black pb-4 gap-4" transition:fade>
<div
style={"background-image: url('" + TMDB_IMAGES_ORIGINAL + backdropPath + "')"}
class="flex-shrink relative flex pt-24 aspect-video min-h-[70vh] px-4 sm:px-8 bg-center bg-cover w-screen sm:bg-fixed"
class="flex-shrink relative flex pt-24 aspect-video min-h-[70vh] px-4 sm:px-8 bg-center bg-cover sm:bg-fixed"
>
<div class="absolute inset-0 bg-gradient-to-t from-black to-50% to-darken" />
<div class="z-[1] flex-1 flex justify-end gap-8 items-end">

View File

@@ -40,8 +40,6 @@
const hls = new Hls();
console.log(item);
hls.loadSource(PUBLIC_JELLYFIN_URL + uri);
hls.attachMedia(video);
video