Allow inline code blocks to wrap lines (#1799)
This commit is contained in:
parent
abf7722b08
commit
df4146c93b
4 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,7 @@ code:not([class*='language']) {
|
|||
margin: calc(var(--padding-block) * -1) -0.125em;
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.08);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
pre > code:not([class*='language']) {
|
||||
|
|
|
@ -212,6 +212,7 @@ code:not([class*='language']) {
|
|||
padding: var(--padding-block) var(--padding-inline);
|
||||
margin: calc(var(--padding-block) * -1) -0.125em;
|
||||
border-radius: var(--border-radius);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
pre > code:not([class*='language']) {
|
||||
|
|
|
@ -202,6 +202,7 @@ code:not([class*='language']) {
|
|||
margin: calc(var(--padding-block) * -1) -0.125em;
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.08);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
pre > code:not([class*='language']) {
|
||||
|
|
|
@ -226,6 +226,7 @@ code:not([class*='language']) {
|
|||
padding: var(--padding-block) var(--padding-inline);
|
||||
margin: calc(var(--padding-block) * -1) -0.125em;
|
||||
border-radius: var(--border-radius);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
pre > code:not([class*='language']) {
|
||||
|
|
Loading…
Reference in a new issue