chore: demo using css vars (#9265)

This commit is contained in:
neverland
2021-08-17 09:50:28 +08:00
committed by GitHub
parent 42888a1c22
commit 33996db3fa
42 changed files with 85 additions and 168 deletions
+1 -3
View File
@@ -77,8 +77,6 @@ const currentPage4 = ref(1);
</template>
<style lang="less">
@import '../../style/var';
.demo-pagination {
.van-pagination {
width: 100%;
@@ -86,7 +84,7 @@ const currentPage4 = ref(1);
}
.van-doc-demo-block {
padding: 0 @padding-md;
padding: 0 var(--van-padding-md);
}
.van-doc-demo-block__title {