Skip to content

Commit d0d6676

Browse files
authored
Merge pull request #8612 from nextcloud/backport/8587/stable32
[stable32] fix(code): don't apply inline code CSS rules to code blocks
2 parents 4fbce08 + 8b3304b commit d0d6676

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/css/prosemirror.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ div.ProseMirror {
278278
padding-bottom: 0.5em;
279279
}
280280

281-
code {
281+
code:not(pre code) {
282282
background-color: var(--color-background-dark);
283283
border-radius: var(--border-radius);
284284
padding: 0.1em 0.3em;

0 commit comments

Comments
 (0)