Skip to content

Commit

Permalink
Fix: Table overflow-wrap: anywhere breaks words on mobile (jackyzha…
Browse files Browse the repository at this point in the history
  • Loading branch information
MasssiveJuice08 authored and DronHazra committed Oct 27, 2024
1 parent bf4f476 commit bb7fae1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion quartz/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb7fae1

Please sign in to comment.