mirror of https://github.com/zulip/zulip.git
rendered_markdown: Add horizontal scrollbar to overflowing ```math.
Fixes #14422. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
1b8a5a3344
commit
e642b8e777
|
@ -156,7 +156,12 @@
|
||||||
|
|
||||||
/* LaTeX styling */
|
/* LaTeX styling */
|
||||||
.katex-display {
|
.katex-display {
|
||||||
margin: 0 0;
|
/* KaTeX sometimes overdraws its bounding box by a little, so we
|
||||||
|
enlarge its scrolling area by stealing 3px from the margin
|
||||||
|
of the enclosing <p>. */
|
||||||
|
margin: -3px 0;
|
||||||
|
padding: 3px 0;
|
||||||
|
overflow: auto hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tex-error {
|
.tex-error {
|
||||||
|
|
Loading…
Reference in New Issue