Skip to content

Commit

Permalink
fix: resize header image in network and studio pages (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthier-th authored Jul 29, 2024
1 parent fccfca6 commit 4220855
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Discover/DiscoverNetwork/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ const DiscoverTvNetwork = () => {
<div className="mt-1 mb-5">
<Header>
{firstResultData?.network.logoPath ? (
<div className="mb-6 flex justify-center">
<div className="relative mb-6 flex h-24 justify-center sm:h-32">
<Image
src={`https://image.tmdb.org/t/p/w780_filter(duotone,ffffff,bababa)${firstResultData.network.logoPath}`}
alt={firstResultData.network.name}
className="max-h-24 sm:max-h-32"
className="object-contain"
fill
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Discover/DiscoverStudio/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ const DiscoverMovieStudio = () => {
<div className="mt-1 mb-5">
<Header>
{firstResultData?.studio.logoPath ? (
<div className="mb-6 flex justify-center">
<div className="relative mb-6 flex h-24 justify-center sm:h-32">
<Image
src={`https://image.tmdb.org/t/p/w780_filter(duotone,ffffff,bababa)${firstResultData.studio.logoPath}`}
alt={firstResultData.studio.name}
className="max-h-24 sm:max-h-32"
className="object-contain"
fill
/>
</div>
Expand Down

0 comments on commit 4220855

Please sign in to comment.