mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[bugfix] AddressList: radio style (#2669)
This commit is contained in:
@@ -36,16 +36,24 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.van-radio__input {
|
||||
.van-radio__icon {
|
||||
top: 50%;
|
||||
left: 0;
|
||||
font-size: 16px;
|
||||
height: 16px;
|
||||
position: absolute;
|
||||
line-height: 16px;
|
||||
transform: translate(0, -50%);
|
||||
|
||||
.van-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.van-icon-checked {
|
||||
color: @red;
|
||||
.van-radio__icon--checked .van-icon {
|
||||
border-color: @red;
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
&__name {
|
||||
@@ -62,10 +70,6 @@
|
||||
}
|
||||
|
||||
&--unswitchable {
|
||||
.van-radio__input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.van-radio__label {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user