Skip to content

Commit 423bbf7

Browse files
committed
fix(Button): 修复 size 为 long 时,加载中图标没有右边距的问题
close #980
1 parent 90022e5 commit 423bbf7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/button/index.less

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
// Size
4040
&-long{
4141
border-radius: 0;
42-
margin: 0;
4342
height: 88rpx;
4443
width: 100%;
4544
}
@@ -51,7 +50,7 @@
5150
height: @btn-height-large;
5251
min-width: @btn-width-large;
5352
}
54-
&-mini {
53+
&-mini {
5554
height: @btn-height-mini;
5655
min-width: @btn-width-mini;
5756
font-size: @size-font-mini;
@@ -93,7 +92,7 @@
9392
border-radius: @btn-circle-size/5;
9493
}
9594
&-large&-circle{
96-
border-radius: @btn-circle-size-large/5;
95+
border-radius: @btn-circle-size-large/5;
9796
}
9897
&-mini&-circle{
9998
border-radius: @btn-circle-size-mini/5;
@@ -172,6 +171,9 @@
172171
&-large{
173172
margin-right: 24rpx
174173
}
174+
&-long{
175+
margin-right: 24rpx
176+
}
175177
}
176178

177179
@keyframes btn-spin {

0 commit comments

Comments
 (0)