[bugfix] AddressList: radio style (#2669)

This commit is contained in:
neverland 2019-02-02 10:01:38 +08:00 committed by GitHub
parent 3958a42484
commit ed8a294fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}