mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 01:53:59 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user