mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-26 11:26:35 +08:00
style(Button): adjust small button size (#6371)
This commit is contained in:
parent
3ae5001f20
commit
5480c003e0
@ -102,7 +102,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--small {
|
&--small {
|
||||||
min-width: @button-small-min-width;
|
|
||||||
height: @button-small-height;
|
height: @button-small-height;
|
||||||
padding: 0 @padding-xs;
|
padding: 0 @padding-xs;
|
||||||
font-size: @button-small-font-size;
|
font-size: @button-small-font-size;
|
||||||
@ -114,8 +113,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--mini {
|
&--mini {
|
||||||
min-width: @button-mini-min-width;
|
|
||||||
height: @button-mini-height;
|
height: @button-mini-height;
|
||||||
|
padding: 0 @padding-base;
|
||||||
font-size: @button-mini-font-size;
|
font-size: @button-mini-font-size;
|
||||||
|
|
||||||
& + .van-button--mini {
|
& + .van-button--mini {
|
||||||
|
@ -107,12 +107,10 @@
|
|||||||
@address-list-edit-icon-size: 20px;
|
@address-list-edit-icon-size: 20px;
|
||||||
|
|
||||||
// Button
|
// Button
|
||||||
@button-mini-height: 22px;
|
@button-mini-height: 24px;
|
||||||
@button-mini-min-width: 50px;
|
|
||||||
@button-mini-font-size: @font-size-xs;
|
@button-mini-font-size: @font-size-xs;
|
||||||
@button-small-height: 30px;
|
@button-small-height: 32px;
|
||||||
@button-small-font-size: @font-size-sm;
|
@button-small-font-size: @font-size-sm;
|
||||||
@button-small-min-width: 60px;
|
|
||||||
@button-normal-font-size: @font-size-md;
|
@button-normal-font-size: @font-size-md;
|
||||||
@button-large-height: 50px;
|
@button-large-height: 50px;
|
||||||
@button-default-height: 44px;
|
@button-default-height: 44px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user