Skip to content

Commit

Permalink
fix(image-aspect): Centered images to card
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedegeofroy committed Nov 25, 2024
1 parent b135ccd commit 15bb310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/game/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const CardComponent = ({ data, deltaY }: Props) => {

return (
<div className="relative h-full overflow-hidden rounded-3xl">
<div className="h-[420px] w-full xs:h-[420px]">
<div className="w-full aspect-square">
<div
className="bg-slate-100 h-full w-full rounded-t-3xl pb-4 overflow-hidden">
<img
Expand Down

0 comments on commit 15bb310

Please sign in to comment.