diff --git a/components/avatar/style/index.less b/components/avatar/style/index.less index ede8b9850..f151cd571 100644 --- a/components/avatar/style/index.less +++ b/components/avatar/style/index.less @@ -1,8 +1,10 @@ @import "../../style/themes/default"; +@import "../../style/mixins/index"; @avatar-prefix-cls: ~"@{ant-prefix}-avatar"; .@{avatar-prefix-cls} { + .reset-component; display: inline-block; text-align: center; background: @avatar-bg; diff --git a/components/badge/Badge.vue b/components/badge/Badge.vue index 26c255019..7f8fe8121 100644 --- a/components/badge/Badge.vue +++ b/components/badge/Badge.vue @@ -5,8 +5,7 @@ {{text}}