refactor layout and improve card responsiveness in Svelte components

This commit is contained in:
maxDorninger
2025-06-09 00:12:42 +02:00
parent deb51570a2
commit d3d83b31ff
5 changed files with 8 additions and 7 deletions

View File

@@ -57,7 +57,7 @@
{:then tvShows}
{#each tvShows as show}
<a href={'/dashboard/tv/' + show.id}>
<Card.Root class="h-full ">
<Card.Root class="col-span-full max-w-[90vw] ">
<Card.Header>
<Card.Title class="h-6 truncate">{getFullyQualifiedShowName(show)}</Card.Title>
<Card.Description class="truncate">{show.overview}</Card.Description>
@@ -67,6 +67,7 @@
</Card.Content>
</Card.Root>
</a>
{:else}
<div class="col-span-full text-center text-muted-foreground">
No TV shows added yet.