[improvement] add padding variables (#3911)

This commit is contained in:
neverland
2019-07-20 15:46:27 +08:00
committed by GitHub
parent e400c9b67d
commit 5d83423b34
59 changed files with 132 additions and 242 deletions
+5 -3
View File
@@ -138,16 +138,18 @@ export default {
</script>
<style lang="less">
@import "../../style/var";
.demo-tag {
background-color: #fff;
background-color: @white;
.van-tag + .van-tag {
margin-left: 10px;
margin-left: @padding-xs;
}
.van-tag {
&:first-of-type {
margin-left: 15px;
margin-left: @padding-md;
}
}
}