Skip to content

Commit

Permalink
Fixed an Image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Pdzly committed Dec 13, 2023
1 parent a7b98fd commit edb154b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/moderates-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const ModeratesList = ({ moderates }: { moderates: ModeratesProps[] }) =>
<H1 className="mb-4 border-collapse border-b dark:border-gray-400 border-gray-800">Moderates:</H1>
<div className="max-h-500 overflow-y-scroll">
{moderates.map(moderate => (
<div key={moderate.community.actor_id} className="border-b border-spacing dark:border-gray-50 border-gray-400 my-2 min-h-fit relative p-2 border-collapse cursor-pointer">
<div key={moderate.community.actor_id} className="border-b border-spacing dark:border-gray-50 border-gray-400 my-2 min-h-40 relative p-2 border-collapse cursor-pointer">
<ModeratesListItem communityName={moderate.community.title} communityAvatar={moderate.community.icon} url={`${moderate.community.actor_id}`} />
</div>
))}
Expand Down
2 changes: 2 additions & 0 deletions src/components/person-detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ const PersonAvatar = ({ avatarUrl }: { avatarUrl: string }) => (
src={avatarUrl}
className="rounded-md h-32 w-32 mr-8"
alt="Avatar"
width={32}
height={32}
/>
</div>
);
Expand Down

0 comments on commit edb154b

Please sign in to comment.