From 5487b22a4f0caf99892193db946470464f87a385 Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Sat, 4 Jan 2025 12:45:02 +0100 Subject: [PATCH] Fix looks of nested code block in collapse --- themes/maik-blog/assets/scss/_collapsible-block.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/themes/maik-blog/assets/scss/_collapsible-block.scss b/themes/maik-blog/assets/scss/_collapsible-block.scss index 96ff5c5..5d35acf 100644 --- a/themes/maik-blog/assets/scss/_collapsible-block.scss +++ b/themes/maik-blog/assets/scss/_collapsible-block.scss @@ -31,13 +31,14 @@ margin: 1em; - .highlight { + > .highlight { margin: 0 -1em; - border-top-left-radius: 0; - border-top-right-radius: 0; + border-radius: 0; &:first-child { margin-top: -1em; + border-top-left-radius: 0; + border-top-right-radius: 0; } &:last-child {