mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
when to modifier
This commit is contained in:
@@ -75,13 +75,13 @@
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
@when disabled {
|
||||
@m disabled {
|
||||
color: $button-disabled-color;
|
||||
background-color: $button-disabled-background-color;
|
||||
border: 1px solid $button-disabled-border-color;
|
||||
}
|
||||
|
||||
@when block {
|
||||
@m block {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
padding-right: 10px;
|
||||
vertical-align: middle;
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user