We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1f469 commit 2c1008bCopy full SHA for 2c1008b
assets/css/v2/style.css
@@ -875,8 +875,13 @@ blockquote {
875
/* solid 3px drop shadow */
876
box-shadow: 3px 3px 0px var(--color-shadow);
877
878
- &:has(.code-block) .highlight-v2 {
879
- /* Remove border from codeblocks in callouts */
+ &:has(.code-block) .code-block:not(:has(.single-line)) {
+ /* Removes negative margins from multi-line codeblocks */
880
+ margin: 0;
881
+ }
882
+
883
+ &:has(.code-block) .code-block:has(.single-line) .highlight-v2.single-line {
884
+ /* Remove border from single line codeblocks in callouts */
885
border: none;
886
}
887
0 commit comments