diff --git a/packages/vant/src/button/demo/index.vue b/packages/vant/src/button/demo/index.vue index 304dc2582..7c469f8ce 100644 --- a/packages/vant/src/button/demo/index.vue +++ b/packages/vant/src/button/demo/index.vue @@ -189,9 +189,10 @@ const t = useTranslate({ &-row { margin-bottom: var(--van-padding-sm); } -} -.notice-swipe { - height: 40px; - line-height: 40px; + + .notice-swipe { + height: 40px; + line-height: 40px; + } } diff --git a/packages/vant/src/rolling-text/demo/index.vue b/packages/vant/src/rolling-text/demo/index.vue index 162889c6c..fc08caa75 100644 --- a/packages/vant/src/rolling-text/demo/index.vue +++ b/packages/vant/src/rolling-text/demo/index.vue @@ -148,24 +148,22 @@ const reset = () => {