mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
rendered_markdown: Add horizontal scrollbar to overflowing ```math.
Fixes #14422. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user