Compare commits

...

2 Commits

Author SHA1 Message Date
andrzej 1161467334 make popcorn smaller
Gitea/movie-explorer/pipeline/head This commit looks good Details
2024-10-30 13:41:21 +01:00
andrzej 7c457c3fe8 add key 2024-10-30 13:41:15 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export function Sidebar({ movie, similarMoviesAvailable, watchProviders, config,
apectRatio: "2 / 3"
}} />
</a>
: <Popcorn height="100%" size="80%" />
: <Popcorn height="100%" size="60%" />
}
{similarMoviesAvailable ? "" : "No hay data suficiente para darte pelílculas relacionadas."}
<div className="h-36 sm:h-72 w-8/12 sm:w-full overflow-y-scroll overflow-x-hidden sm:mt-4 p-2 sm:p-4 text-sm sm:text-base flex justify-center items-center border-2 border-slate-800 rounded-lg ">

View File

@ -64,7 +64,7 @@ interface ProviderIconsProps extends React.ComponentPropsWithRef<"div"> {
function ProviderIcons({ providerList, link }: ProviderIconsProps) {
if (!providerList) { return "" }
const list = providerList.map((e: any, i: number) => {
return <div className="w-6 aspect-square">
return <div className="w-6 aspect-square" key={e.link}>
<a href={link}>
<img src={tmdb.makeLogoPath(e.logo_path)} key={e.provider_id + "_" + i} /></a>
</div>