From ff934a8bdc521df70d9e49d19f85e0506f6175f7 Mon Sep 17 00:00:00 2001 From: Mahe Tardy Date: Fri, 31 May 2024 19:20:21 +0200 Subject: [PATCH] docs: Docsy restore previous look on codeblocks Signed-off-by: Mahe Tardy --- docs/assets/scss/codeblock.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/assets/scss/codeblock.scss b/docs/assets/scss/codeblock.scss index 1a1ed9032fa..1ac8bf103c1 100644 --- a/docs/assets/scss/codeblock.scss +++ b/docs/assets/scss/codeblock.scss @@ -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 {