Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add min height/width and object fit cover to avatar #1058

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

kirkas
Copy link
Contributor

@kirkas kirkas commented Aug 15, 2024

Changes

fix: Modify Avatar component to handle images with varying height/width ratio.

Before

image

After

image

Copy link

vercel bot commented Aug 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-playground ❌ Failed (Inspect) Aug 15, 2024 4:28pm

@Zizzamia Zizzamia merged commit 701c176 into main Aug 15, 2024
13 of 14 checks passed
@Zizzamia Zizzamia deleted the fix-avatar-dimension-display branch August 15, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants