diff --git a/docs/examples-docs/steps.md b/docs/examples-docs/steps.md index 1d5f0b70f..61c9af637 100644 --- a/docs/examples-docs/steps.md +++ b/docs/examples-docs/steps.md @@ -12,6 +12,13 @@ .van-steps__message + p { margin-bottom: 10px; } + + p, + h3 { + margin: 0; + font-size: inherit; + font-weight: normal; + } } diff --git a/docs/src/components/demo-list.vue b/docs/src/components/demo-list.vue index 301b4d072..0877b7c49 100644 --- a/docs/src/components/demo-list.vue +++ b/docs/src/components/demo-list.vue @@ -29,33 +29,33 @@ export default { diff --git a/packages/actionsheet/index.vue b/packages/actionsheet/index.vue index 0ce765aaa..dff11f5da 100644 --- a/packages/actionsheet/index.vue +++ b/packages/actionsheet/index.vue @@ -2,7 +2,7 @@
-

+
    diff --git a/packages/card/index.vue b/packages/card/index.vue index 69f93dbb1..b672be415 100644 --- a/packages/card/index.vue +++ b/packages/card/index.vue @@ -8,14 +8,14 @@
    -

    {{ title }}

    -

    ¥ {{ price }}

    +
    {{ title }}
    +
    ¥ {{ price }}
    -

    {{ desc }}

    -

    x {{ num }}

    +
    {{ desc }}
    +
    x {{ num }}
    diff --git a/packages/number-keyboard/index.vue b/packages/number-keyboard/index.vue index 41ac7d1f1..52ddb036e 100644 --- a/packages/number-keyboard/index.vue +++ b/packages/number-keyboard/index.vue @@ -10,9 +10,9 @@ @touchcancel="blurKey" @animationend="onAnimationEnd" > -

    +
    {{ title }} -

    +
    -

    +
    diff --git a/packages/picker/index.vue b/packages/picker/index.vue index beb7fca87..b9084bb26 100644 --- a/packages/picker/index.vue +++ b/packages/picker/index.vue @@ -4,7 +4,7 @@ 取消 完成 -

    {{ title }}

    +
    {{ title }}
    diff --git a/packages/steps/index.vue b/packages/steps/index.vue index 800cfd118..a333938be 100644 --- a/packages/steps/index.vue +++ b/packages/steps/index.vue @@ -8,8 +8,8 @@
    -

    -

    +
    +
    diff --git a/packages/vant-css/src/base.css b/packages/vant-css/src/base.css index 9a148e573..5609574e8 100644 --- a/packages/vant-css/src/base.css +++ b/packages/vant-css/src/base.css @@ -6,4 +6,3 @@ @import "./common/normalize.css"; @import "./common/hairline.css"; @import "./common/animation.css"; - diff --git a/packages/vant-css/src/common/normalize.css b/packages/vant-css/src/common/normalize.css index 5561d9e4b..a935e39f3 100644 --- a/packages/vant-css/src/common/normalize.css +++ b/packages/vant-css/src/common/normalize.css @@ -6,6 +6,10 @@ html { -webkit-tap-highlight-color: transparent; } +body { + margin: 0; +} + a { text-decoration: none; } diff --git a/packages/vant-css/src/goods-action.css b/packages/vant-css/src/goods-action.css index ce80b3ce0..ce63f0009 100644 --- a/packages/vant-css/src/goods-action.css +++ b/packages/vant-css/src/goods-action.css @@ -17,6 +17,7 @@ height: 50px; font-size: 10px; min-width: 15%; + line-height: 1; text-align: center; background-color: $white; flex-direction: column;