[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; box-sizing: border-box;
} }
.van-radio__input { .van-radio__icon {
top: 50%; top: 50%;
left: 0; left: 0;
font-size: 16px; height: 16px;
position: absolute; position: absolute;
line-height: 16px;
transform: translate(0, -50%); transform: translate(0, -50%);
.van-icon {
width: 16px;
height: 16px;
font-size: 12px;
}
} }
.van-icon-checked { .van-radio__icon--checked .van-icon {
color: @red; border-color: @red;
background-color: @red;
} }
&__name { &__name {
@ -62,10 +70,6 @@
} }
&--unswitchable { &--unswitchable {
.van-radio__input {
display: none;
}
.van-radio__label { .van-radio__label {
padding-left: 0; padding-left: 0;
} }