mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
[Improvement] Cell: optimize left icon (#893)
This commit is contained in:
@@ -59,14 +59,12 @@
|
||||
bottom: 0;
|
||||
z-index: 9999;
|
||||
padding-left: 15px;
|
||||
|
||||
.van-cell__text {
|
||||
font-size: 16px;
|
||||
}
|
||||
font-size: 16px;
|
||||
|
||||
.van-icon-add {
|
||||
color: $blue;
|
||||
font-size: 20px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
}
|
||||
}
|
@@ -24,16 +24,10 @@
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
&__title {
|
||||
.van-icon {
|
||||
font-size: 16px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
&__text {
|
||||
vertical-align: middle;
|
||||
&__left-icon {
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
&__label {
|
||||
|
@@ -50,18 +50,12 @@
|
||||
bottom: 0;
|
||||
z-index: 9999;
|
||||
padding-left: 15px;
|
||||
|
||||
.van-cell__text {
|
||||
font-size: 16px;
|
||||
}
|
||||
font-size: 16px;
|
||||
|
||||
.van-icon-add {
|
||||
color: $blue;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $active-color;
|
||||
line-height: 1.2;
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,10 +1,6 @@
|
||||
@import './common/var.css';
|
||||
|
||||
.van-switch-cell {
|
||||
.van-cell__text {
|
||||
vertical-align: baseline;;
|
||||
}
|
||||
|
||||
.van-switch {
|
||||
float: right;
|
||||
}
|
||||
|
Reference in New Issue
Block a user