diff --git a/components/style/themes/default.less b/components/style/themes/default.less index cd518c6d38..4f3fe87738 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -171,8 +171,8 @@ @switch-fill-android: @brand-primary; // tag -@tag-height: 48px; -@tag-height-sm: 28px; +@tag-height: 50px; +@tag-height-sm: 30px; @tag-color: @brand-primary; // table diff --git a/components/style/themes/default.tsx b/components/style/themes/default.tsx index 7478748dc9..7238858ea8 100644 --- a/components/style/themes/default.tsx +++ b/components/style/themes/default.tsx @@ -169,8 +169,8 @@ export default { switch_fill: '#4dd865', // tag - tag_height: 24, - tag_small_height: 14, + tag_height: 25, + tag_small_height: 15, // table table_title_height: 30, diff --git a/components/tag/style/index.less b/components/tag/style/index.less index b598673680..ae4dc34a31 100644 --- a/components/tag/style/index.less +++ b/components/tag/style/index.less @@ -4,14 +4,15 @@ @tagPrefixCls: am-tag; .@{tagPrefixCls} { - border-radius: @radius-sm; display: inline-block; position: relative; font-size: @font-size-base; - padding: 0 @h-spacing-lg; text-align: center; + padding: 0 @h-spacing-lg; height: @tag-height; line-height: @tag-height; + border-radius: @radius-sm; + box-sizing: border-box; &&-small { height: @tag-height-sm;