feat: Alternative background image animation for chrome & tv, fix: Adjust margins

This commit is contained in:
Aleksi Lassila
2024-04-03 02:17:31 +03:00
parent 96076aeebc
commit 27fa492d8d
4 changed files with 42 additions and 21 deletions

View File

@@ -17,7 +17,7 @@
urls={items.then((items) => items.map((i) => `${TMDB_IMAGES_ORIGINAL}${i.backdropUrl}`))}
bind:index={showcaseIndex}
>
<SidebarMargin class="h-full flex-1 flex overflow-hidden z-10 relative">
<div class="h-full flex-1 flex overflow-hidden z-10 relative">
{#await items}
<div class="flex-1 flex items-end">
<CardPlaceholder orientation="portrait" />
@@ -77,5 +77,5 @@
{:catch error}
<p>{error.message}</p>
{/await}
</SidebarMargin>
</div>
</HeroCarousel>