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

Fix avatar/icon aspect ratio #1210

Merged
merged 4 commits into from
Jun 12, 2023

Conversation

alectrocute
Copy link
Contributor

Hi, Lemmy team!

This PR addresses an issue with avatars having incorrect aspect ratios. I propose we use the CSS attribute object-fit with cover to fix it.

Screenshot 2023-06-12 at 12 56 45 PM Screenshot 2023-06-12 at 12 56 36 PM Screenshot 2023-06-12 at 1 03 23 PM Screenshot 2023-06-12 at 1 03 28 PM

Thanks!

@SleeplessOne1917 SleeplessOne1917 merged commit b7f5c0e into LemmyNet:main Jun 12, 2023
@alectrocute alectrocute deleted the avatar-aspect-ratio-fix branch June 12, 2023 22:02
@alectrocute
Copy link
Contributor Author

Thanks for the speedy review, @SleeplessOne1917! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants