From b2e206dd4b0da5b9cd667b3c66146b14c8edf52c Mon Sep 17 00:00:00 2001 From: Eusen <179530591@qq.com> Date: Wed, 11 Sep 2019 19:23:36 +0800 Subject: [PATCH] fix(module:avatar): Extrusion Deformation of Long Pictures --- components/avatar/style/index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/components/avatar/style/index.less b/components/avatar/style/index.less index f2c22c0376..e305105458 100644 --- a/components/avatar/style/index.less +++ b/components/avatar/style/index.less @@ -37,6 +37,7 @@ display: block; width: 100%; height: 100%; + object-fit: cover; } }