Added max widths for movie & series pages

This commit is contained in:
Aleksi Lassila
2023-08-09 00:14:31 +03:00
parent a953f27c31
commit 536d11cf78
4 changed files with 53 additions and 39 deletions

View File

@@ -63,7 +63,7 @@
<button
on:click
class={classNames(
'aspect-video bg-center bg-cover bg-no-repeat rounded-lg overflow-hidden transition-all shadow-lg relative selectable flex-shrink-0 placeholder-image',
'aspect-video bg-center bg-cover bg-no-repeat rounded-lg overflow-hidden transition-all shadow-lg relative selectable flex-shrink-0 placeholder-image flex',
{
'h-40': size === 'md',
'h-full': size === 'dynamic',
@@ -77,7 +77,7 @@
>
<div
class={classNames(
'flex flex-col justify-between h-full group-hover:opacity-0 transition-all',
'flex-1 flex flex-col justify-between group-hover:opacity-0 transition-all',
{
'px-2 lg:px-3 pt-2': true,
'pb-4 lg:pb-6': progress,