Skip to content

Commit 0563651

Browse files
author
Hui
committed
[toggle]修改large高度和small高度
1 parent 5588961 commit 0563651

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/tag/demos/basic-tag.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class TagDemo extends Component {
2222
<div style={{ marginBottom: 15, fontSize: 14 }}>
2323
<Tag type="success" icon="success-fill">成功</Tag>
2424
<Tag type="danger" icon="close-fill-1">失败</Tag>
25-
<Tag type="warning" icon="checkbox-indeterminate">未开始</Tag>
25+
<Tag type="warning" icon="no-start">未开始</Tag>
2626
<Tag type="default" icon="success-fill">已完成</Tag>
27-
<Tag color="blue" icon="time">进行中</Tag>
27+
<Tag color="blue" icon="a-21">进行中</Tag>
2828
</div>
2929

3030
</React.Fragment>

src/components/tag/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
}
113113

114114
&.large {
115-
line-height: 22px;
115+
line-height: 24px;
116116

117117
&.closable {
118118
padding-right: 24px;
@@ -128,7 +128,7 @@
128128
}
129129

130130
&.small {
131-
padding: 1px 4px;
131+
padding: 2px 4px;
132132
line-height: 16px;
133133

134134
&.closable {

0 commit comments

Comments
 (0)