mirror of https://github.com/zulip/zulip.git
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:
parent
b01ba5f389
commit
24cbd61131
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue