diff --git a/package.json b/package.json index ec4c148..3790e4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.6.4-search3", + "version": "0.6.4-content", "description": "Beeline Cloud docs", "main": "index.js", "scripts": { diff --git a/src/.vitepress/theme/scss/components/vp-custom-block.scss b/src/.vitepress/theme/scss/components/vp-custom-block.scss index efce54e..715127b 100644 --- a/src/.vitepress/theme/scss/components/vp-custom-block.scss +++ b/src/.vitepress/theme/scss/components/vp-custom-block.scss @@ -273,9 +273,35 @@ } } +.custom-block.details { + h1, h2, h3, h4, h5, ul, p { + margin: 0 24px; + + &:last-child { + margin-bottom: 24px !important; + } + + &:first-child { + margin-top: 24px !important; + } + } + + ol { + padding: 0 24px; + + &:last-child { + margin-bottom: 24px !important; + } + + &:first-child { + margin-top: 24px !important; + } + } +} + .custom-block.details summary + p { - margin: 0; padding: 24px; + margin: 0; } .custom-block a { diff --git a/src/.vitepress/theme/scss/components/vp-doc-aside.scss b/src/.vitepress/theme/scss/components/vp-doc-aside.scss index e4fc506..6d2dadb 100644 --- a/src/.vitepress/theme/scss/components/vp-doc-aside.scss +++ b/src/.vitepress/theme/scss/components/vp-doc-aside.scss @@ -4,8 +4,8 @@ .VPDocAside { .outline-link { font-weight: 400; - font-size: 17px; - line-height: 22px; + font-size: 15px; + line-height: 18px; letter-spacing: 0.2px; padding-top: 8px; padding-bottom: 8px; @@ -19,10 +19,11 @@ } .outline-title { - font-size: 17px; + font-size: 15px; font-weight: 500; - line-height: 22px; + line-height: 18px; padding-bottom: 16px; + color: colors.$color-text-black-active; } .content {