Skip to content

Commit 1878cb0

Browse files
committed
docs: update theme
1 parent 8ee92ae commit 1878cb0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/docs/.vuepress/theme-coreui/src/client/styles/_component-examples.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@
355355
// Code snippets
356356
//
357357

358+
div[class^="language-"],
358359
.highlight {
359360
position: relative;
360361
padding: .75rem ($cd-gutter-x * .5);
@@ -388,13 +389,14 @@
388389
.docs-code-snippet {
389390
margin: 0 ($cd-gutter-x * -.5) $spacer;
390391

392+
div[class^="language-"],
391393
.highlight {
392394
margin-bottom: 0;
393395
}
394396

397+
.docs-example ~ div[class^="language-"],
395398
.docs-example ~ .highlight {
396-
border: solid var(--cui-border-color);
397-
border-width: 1px 0 0;
399+
border: 0;
398400
@include border-top-radius(0);
399401
}
400402

@@ -420,6 +422,11 @@
420422
}
421423
}
422424

425+
.docs-example {
426+
border-bottom-width: 0;
427+
}
428+
429+
.docs-example + div[class^="language-"],
423430
.docs-example + .highlight {
424431
border-top-width: 0;
425432
@include border-top-radius(0);

0 commit comments

Comments
 (0)