From 77846006a54915ac788643328a6b002005cd9d21 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Wed, 17 Jan 2024 03:54:23 +0800 Subject: [PATCH] feat: add `demo-wrapper` container support --- theme/src/client/styles/md-enhance.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/src/client/styles/md-enhance.scss b/theme/src/client/styles/md-enhance.scss index dbd7a1e7..497cc085 100644 --- a/theme/src/client/styles/md-enhance.scss +++ b/theme/src/client/styles/md-enhance.scss @@ -455,16 +455,16 @@ } .demo-container { - padding: 10px 20px; + padding: 20px; background-color: var(--vp-c-bg-alt); border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; - > :first-of-type { + > *:first-child { margin-top: 0; } - > :last-of-type { + > *:last-child { margin-bottom: 0; } }