Skip to content

Commit f190a07

Browse files
authored
Callouts: Prevent codeblocks overflowing callouts (#383)
1 parent 4fd0505 commit f190a07

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assets/css/v2/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,6 +2011,14 @@ blockquote {
20112011
margin: 0;
20122012
}
20132013

2014+
/* Prevent codeblock x-axis overflow within callouts, retaining flow-gap for y */
2015+
.callout-content:has(.code-block) {
2016+
.code-block {
2017+
margin-right: 0;
2018+
margin-left: 0;
2019+
}
2020+
}
2021+
20142022
.callout-content {
20152023
margin: 0;
20162024
}

0 commit comments

Comments
 (0)