From edc1f5e7e7c5542d8c65315794973d4017fb0c96 Mon Sep 17 00:00:00 2001 From: inottn Date: Sat, 24 Jun 2023 20:32:40 +0800 Subject: [PATCH] docs: improve style (#12024) --- packages/vant/src/button/demo/index.vue | 9 +++--- packages/vant/src/rolling-text/demo/index.vue | 32 +++++++++---------- 2 files changed, 20 insertions(+), 21 deletions(-) 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 = () => {