fix(theme): code block style is broken inside custom block (#2664)

pull/2667/head
Aelita 1 year ago committed by GitHub
parent 3912951bad
commit 8ff431a6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -226,6 +226,7 @@
.vp-doc .custom-block div[class*='language-'] { .vp-doc .custom-block div[class*='language-'] {
margin: 8px 0; margin: 8px 0;
border-radius: 8px;
} }
.vp-doc .custom-block div[class*='language-'] code { .vp-doc .custom-block div[class*='language-'] code {
@ -233,6 +234,11 @@
background-color: transparent; background-color: transparent;
} }
.vp-doc .custom-block .vp-code-group .tabs {
margin: 0;
border-radius: 8px 8px 0 0;
}
/** /**
* Code * Code
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */

Loading…
Cancel
Save