From b3e75d5b57329c7c3aaa1ca08d398aceadb1f321 Mon Sep 17 00:00:00 2001 From: Tom Xu Date: Wed, 11 Nov 2020 15:20:01 +0800 Subject: [PATCH] style: fix Avatar src Image style (#27691) --- components/avatar/style/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/avatar/style/index.less b/components/avatar/style/index.less index dc84db5d2b..6ba2dadd5c 100644 --- a/components/avatar/style/index.less +++ b/components/avatar/style/index.less @@ -19,6 +19,10 @@ background: transparent; } + .@{ant-prefix}-image-img { + display: block; + } + .avatar-size(@avatar-size-base, @avatar-font-size-base); &-lg {