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

Avatar Aspect Ratio: Crop rather than stretch #5610

Closed
atyshka opened this issue Jul 27, 2020 · 0 comments · Fixed by #5675
Closed

Avatar Aspect Ratio: Crop rather than stretch #5610

atyshka opened this issue Jul 27, 2020 · 0 comments · Fixed by #5675

Comments

@atyshka
Copy link

atyshka commented Jul 27, 2020

Is your feature request related to a problem? Please describe...

Currently, when an avatar is given an image that is not 1:1 ratio, the image is stretched to fit, which often significantly distorts the image.

Describe the solution you'd like

I propose changing the default behavior to cropping the image to avoid stretching

Describe alternatives you've considered

No other real alternatives. I can't envision a scenario where the current behavior is desirable

jacobmllr95 added a commit that referenced this issue Aug 21, 2020
* fix(b-avavtar): image fit and scale

* Update _avatar.scss

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

Successfully merging a pull request may close this issue.

2 participants