diff --git a/packages/vant-cli/site/desktop/components/Content.vue b/packages/vant-cli/site/desktop/components/Content.vue index 279e69b14..871fd7d26 100644 --- a/packages/vant-cli/site/desktop/components/Content.vue +++ b/packages/vant-cli/site/desktop/components/Content.vue @@ -90,6 +90,7 @@ export default { background-color: #fff; border-radius: @van-doc-border-radius; box-shadow: 0 8px 12px #ebedf0; + overflow: auto; > pre code { position: relative;