Skip to content

Commit

Permalink
docs: Docsy restore previous look on codeblocks
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
  • Loading branch information
mtardy committed May 31, 2024
1 parent 1e92b7c commit ff934a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/assets/scss/codeblock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
.td-content {
.highlight {
margin: 1.5rem 0;
border-radius: 0.25rem;
}
}

// remove borders on general output without syntax highlighting
:not(.highlight)>pre {
border: none;
}

// add border to codeblock inside of complex tab pane
.tab-content {
.tab-pane {
Expand Down

0 comments on commit ff934a8

Please sign in to comment.