From 38833e1e81339e689fdb83f5a2a79118f8183d8b Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 18 Jun 2021 10:06:46 +0800 Subject: [PATCH] style(cli): limit em max width (#8886) --- packages/vant-cli/site/desktop/components/Content.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vant-cli/site/desktop/components/Content.vue b/packages/vant-cli/site/desktop/components/Content.vue index d1697cb82..e1eb949af 100644 --- a/packages/vant-cli/site/desktop/components/Content.vue +++ b/packages/vant-cli/site/desktop/components/Content.vue @@ -136,10 +136,12 @@ export default { } em { + display: inline-block; color: @van-doc-green; font-size: 14px; font-family: @van-doc-code-font-family; font-style: normal; + max-width: 400px; -webkit-font-smoothing: auto; } }