Skip to content

Commit

Permalink
fix(images): make images the correct size
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolassutter committed Jan 2, 2023
1 parent 36ff7fc commit 52a6a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/person/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ function Person() {
<PosterCard
src={getPosterPicture(sliderItem) as string}
className='slider-poster-card poster-effect'
lazyClassName='h-full'
imgAttrs={{
className: 'h-full',
}}
Expand Down
1 change: 1 addition & 0 deletions src/pages/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function Search() {
? (getProfilePicture(media) as string)
: (getPosterPicture(media) as string)
}
lazyClassName='h-full'
imgAttrs={{
className: 'h-full',
}}
Expand Down

0 comments on commit 52a6a56

Please sign in to comment.