diff --git a/assets/styles/layout/_code.scss b/assets/styles/layout/_code.scss index c2fc6eefa..c5eaa8286 100644 --- a/assets/styles/layout/_code.scss +++ b/assets/styles/layout/_code.scss @@ -26,7 +26,7 @@ pre[class*="language-"] { position: relative; margin: .5em 0; overflow: visible; - padding: 1px; + padding: 0; } pre[class*="language-"] > code { @@ -402,7 +402,8 @@ pre[class*="language-"] { margin: 0; color: var(--surface-900); font-size: 14px; - border-radius: 10px; + border-bottom-left-radius: 10px; + border-bottom-right-radius: 10px; } } diff --git a/components/doc/DocSectionCode.vue b/components/doc/DocSectionCode.vue index d8d436aa6..38773f14c 100644 --- a/components/doc/DocSectionCode.vue +++ b/components/doc/DocSectionCode.vue @@ -1,6 +1,6 @@