Skip to content

Commit b659766

Browse files
committed
fix: inherits background when code nested in paragraphs, list items and table cells
1 parent 54fa35e commit b659766

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_extensions/mcanouil/brand.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ defaults:
121121
background-color: body-mix(95%);
122122
}
123123
124+
p code.sourceCode, li code.sourceCode, td code.sourceCode {
125+
background-color: inherit;
126+
}
127+
124128
.code-annotation-gutter {
125129
background-color: body-mix(95%);
126130
}

0 commit comments

Comments
 (0)