Skip to content

Commit e56a3aa

Browse files
committed
docs: Docsy restore previous look on codeblocks
Signed-off-by: Mahe Tardy <[email protected]>
1 parent 23beb0c commit e56a3aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/assets/scss/codeblock.scss

+6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22
.td-content {
33
.highlight {
44
margin: 1.5rem 0;
5+
border-radius: 0.25rem;
56
}
67
}
78

9+
// remove borders on general output without syntax highlighting
10+
:not(.highlight)>pre {
11+
border: none;
12+
}
13+
814
// add border to codeblock inside of complex tab pane
915
.tab-content {
1016
.tab-pane {

0 commit comments

Comments
 (0)