Skip to content

Commit

Permalink
Center image and make the aspect ratio square (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden authored Aug 6, 2024
1 parent a48b5f5 commit 30c3d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/listings/ListingGridCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const ListingGridCard = (props: Props) => {
<img
src={listing.image_url}
alt={listing.name}
className="aspect-square"
className="w-fit h-fit mx-auto my-auto"
/>
) : (
<Image />
Expand Down

0 comments on commit 30c3d04

Please sign in to comment.