Skip to content

Commit

Permalink
fix: Skeleton for small screens on single event page
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroWave022 committed Nov 21, 2024
1 parent dda95b6 commit 0a46cc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/[locale]/(default)/events/[id]/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default function EventDetailsLoading() {
<Skeleton className='h-6 w-32 rounded-lg' />
</div>
<Separator />
<div className='flex justify-between'>
<Skeleton className='h-36 w-3/5 rounded-lg' />
<div className='flex flex-col-reverse items-center gap-6 md:flex-row md:justify-between'>
<Skeleton className='h-36 w-full max-w-prose rounded-lg md:flex-1' />
<Skeleton className='h-48 w-48 rounded-full' />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/(default)/events/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default async function EventDetailsPage({
{event.location}
</div>
<Separator />
<div className='flex justify-between'>
<div className='flex flex-col-reverse items-center gap-6 md:flex-row md:justify-between'>
<div className='max-w-prose'>
<p>{event.description}</p>
</div>
Expand Down

0 comments on commit 0a46cc2

Please sign in to comment.