This commit is contained in:
Alexander 2025-06-12 14:34:32 -04:00
parent fa2e6c4e08
commit f3f75f91f7
3 changed files with 31 additions and 12 deletions

View file

@ -22,10 +22,11 @@ code:not(pre code) {
color: black;
border-radius: 3px;
line-height: var(--ui-spacing);
/* This prevents inline code from wrapping, c.f. Typst's `box`. */
display: inline-block;
/* These are needed if we allow code to line break. */
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
display: inline-block;
}
pre {