[improvement] avoid use cell selector (#2714)

This commit is contained in:
neverland
2019-02-11 19:03:36 +08:00
committed by GitHub
parent 9c4ad97731
commit 9947ab00e8
17 changed files with 58 additions and 60 deletions
+9 -15
View File
@@ -1,8 +1,16 @@
@import '../style/var';
.van-field {
.van-cell__title {
&__label {
max-width: 90px;
&--center {
text-align: center;
}
&--right {
text-align: right;
}
}
&__body {
@@ -111,18 +119,4 @@
min-height: 60px;
}
}
&--label {
&-center {
.van-cell__title {
text-align: center;
}
}
&-right {
.van-cell__title {
text-align: right;
}
}
}
}