css: Fix KaTeX summation alignment and line wrapping.

Previously, the sum (capital sigma) operator would become
misaligned so that the lower and upper bounds are placed in
the wrong location. Changing the line height fixes this alignment.

Also, previously, wrapping long lines of TeX did not work, as often,
the different lines of math would overlap with each other.

Fixes #4657.
This commit is contained in:
Cory Lynch 2017-05-17 01:45:02 -04:00 committed by Tim Abbott
parent b01ba5f389
commit 24cbd61131
1 changed files with 5 additions and 1 deletions

View File

@ -2058,10 +2058,14 @@ div.floating_recipient {
}
.katex-html {
line-height: initial;
line-height: 3em;
white-space: initial;
}
.katex-display {
margin: 0em 0;
}
.tex-error {
color: red;
}