diff --git a/core/src/components/avatar/avatar.scss b/core/src/components/avatar/avatar.scss index 0570a532c0..2495151f6a 100644 --- a/core/src/components/avatar/avatar.scss +++ b/core/src/components/avatar/avatar.scss @@ -11,4 +11,6 @@ ion-avatar { ion-avatar img { width: 100%; height: 100%; + + object-fit: cover; } diff --git a/core/src/components/avatar/test/basic/index.html b/core/src/components/avatar/test/basic/index.html index 67f5fdf142..b8e499c35d 100644 --- a/core/src/components/avatar/test/basic/index.html +++ b/core/src/components/avatar/test/basic/index.html @@ -35,6 +35,13 @@ Item Avatar + + + + + + Wide Avatar +