Skip to content

Commit 8ff431a

Browse files
authored
fix(theme): code block style is broken inside custom block (#2664)
1 parent 3912951 commit 8ff431a

File tree

1 file changed

+6
-0
lines changed
  • src/client/theme-default/styles/components

1 file changed

+6
-0
lines changed

src/client/theme-default/styles/components/vp-doc.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,19 @@
226226

227227
.vp-doc .custom-block div[class*='language-'] {
228228
margin: 8px 0;
229+
border-radius: 8px;
229230
}
230231

231232
.vp-doc .custom-block div[class*='language-'] code {
232233
font-weight: 400;
233234
background-color: transparent;
234235
}
235236

237+
.vp-doc .custom-block .vp-code-group .tabs {
238+
margin: 0;
239+
border-radius: 8px 8px 0 0;
240+
}
241+
236242
/**
237243
* Code
238244
* -------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)