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

BUG. Doesn't keep ratio when image is rectangle. #73

Open
kamilwasyl opened this issue Jul 30, 2019 · 10 comments
Open

BUG. Doesn't keep ratio when image is rectangle. #73

kamilwasyl opened this issue Jul 30, 2019 · 10 comments

Comments

@kamilwasyl
Copy link

I want it to squeeze to be square.

image

both are set like this :

<ngx-avatar src="{{company.logoLink}}" name="{{company.name}}"
initialsSize="3" size="40" [round]="true">

@kamilwasyl
Copy link
Author

? Any thoughts ? Still a bug

@kamilwasyl kamilwasyl changed the title Doesn't keep ratio when image is rectangle BUG. Doesn't keep ratio when image is rectangle. Oct 9, 2019
@marcoacevey
Copy link

Having the same issue on ionic.

@odahcam
Copy link
Collaborator

odahcam commented Nov 13, 2019

Hey, I think it's not a bug, but just a not implemented feature.

@marcoacevey
Copy link

Dealing with the same problem :|
Can't find any workarround.

@marcoacevey
Copy link

Hey, I think it's not a bug, but just a not implemented feature.

CSS may be?

@marcoacevey
Copy link

marcoacevey commented Nov 14, 2019 via email

@odahcam
Copy link
Collaborator

odahcam commented Nov 18, 2019

You can always use ::ng-deep and customize the styling. That would certainty help you.

@kamilwasyl
Copy link
Author

@odahcam any examples?

@michelebombardi
Copy link

Same problem here.

@jonetapian
Copy link

no solution yet ? having the same problem here

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

No branches or pull requests

5 participants