Skip to content

Commit

Permalink
fix: fix person page responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolassutter committed Apr 2, 2023
1 parent 83c03c3 commit 036d504
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/pages/person/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,19 @@ function Person() {
</Helmet>

{!isLoading && person ? (
<div className='media-page w-full max-w-full col-center grid grid-cols-[300px_1fr] gap-5'>
<div
className='
media-page w-full max-w-full col-center
grid
grid-cols-1
md:grid-cols-[theme(spacing.48)_1fr]
lg:grid-cols-[theme(spacing.72)_1fr]
gap-5
'
>
<PosterCard
src={getProfilePicture(person) as string}
className='relative z-10'
className='relative z-10 max-w-max max-h-max'
></PosterCard>

<div className='content-col w-full overflow-hidden relative p-5'>
Expand Down

0 comments on commit 036d504

Please sign in to comment.