diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index b023b279..37aa8ce0 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -43,10 +43,22 @@ ul, .math { color: var(--darkgray); fill: var(--darkgray); - overflow-wrap: anywhere; hyphens: auto; } +p, +ul, +text, +a, +li, +ol, +ul, +.katex, +.math { + overflow-wrap: anywhere; + /* tr and td removed from list of selectors for overflow-wrap, allowing them to use default 'normal' property value */ +} + .math { &.math-display { text-align: center;