Skip to content

Commit

Permalink
feat: maintain aspect ratio of image
Browse files Browse the repository at this point in the history
  • Loading branch information
steezplusplus committed Sep 18, 2023
1 parent 96d03f4 commit a165a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_components/cards/profile-card/profile-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function ProfileCard() {
alt="A profile picture"
width="128"
height="128"
className="h-32 w-32 rounded-full duration-200 dark:grayscale dark:hover:grayscale-0"
className="aspect-auto h-32 w-32 rounded-full duration-200 dark:grayscale dark:hover:grayscale-0"
/>
<figcaption className="mt-2 text-center text-sm">Welcome to my digital garden</figcaption>
</div>
Expand Down

0 comments on commit a165a06

Please sign in to comment.