mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] add padding variables (#3911)
This commit is contained in:
@@ -64,16 +64,18 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
@import "../../style/var";
|
||||
|
||||
.demo-skeleton {
|
||||
background-color: #fff;
|
||||
background-color: @white;
|
||||
|
||||
.van-switch {
|
||||
margin: 0 15px 10px;
|
||||
margin: 0 @padding-md @padding-xs;
|
||||
}
|
||||
|
||||
.demo-preview {
|
||||
display: flex;
|
||||
padding: 0 15px;
|
||||
padding: 0 @padding-md;
|
||||
|
||||
.demo-content {
|
||||
padding-top: 6px;
|
||||
@@ -95,7 +97,7 @@ export default {
|
||||
flex-shrink: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 15px;
|
||||
margin-right: @padding-md;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user