Allow inline code blocks to wrap lines (#1799)

This commit is contained in:
Ian VanSchooten 2021-11-11 14:30:09 -05:00 committed by GitHub
parent abf7722b08
commit df4146c93b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View file

@ -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']) {

View file

@ -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']) {

View file

@ -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']) {

View file

@ -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']) {