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