From f4bc3542a17c638ab899260541ea6e1d17d1a034 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 9 Jan 2021 11:02:13 +0800 Subject: [PATCH] fix(cli): incorrect simulator position --- packages/vant-cli/site/desktop/components/Simulator.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant-cli/site/desktop/components/Simulator.vue b/packages/vant-cli/site/desktop/components/Simulator.vue index bc405cec7..ec98913d9 100644 --- a/packages/vant-cli/site/desktop/components/Simulator.vue +++ b/packages/vant-cli/site/desktop/components/Simulator.vue @@ -66,7 +66,7 @@ export default { @media (min-width: @van-doc-row-max-width) { right: 50%; - margin-right: -@van-doc-row-max-width / 2 + 40px; + margin-right: -(@van-doc-row-max-width / 2) + 40px; } &-fixed {