Skip to content

Commit 59f798d

Browse files
authored
fix(markdown): white-space and paddings for code block (#DS-3777) (#754)
1 parent 5974cd3 commit 59f798d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/markdown/markdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
border-radius: var(--kbq-markdown-code-size-border-radius);
125125
}
126126

127-
.kbq-markdown__code {
127+
.kbq-markdown__code:not(.kbq-markdown__pre > .kbq-markdown__code) {
128128
white-space: nowrap;
129129
padding: var(--kbq-markdown-code-size-inline-padding);
130130
}

0 commit comments

Comments
 (0)