mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(thumbnail): adjust wide images to fill instead of squish
This commit is contained in:
@ -11,4 +11,6 @@ ion-thumbnail {
|
|||||||
ion-thumbnail img {
|
ion-thumbnail img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user