mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 16:57:36 +08:00
This upgrades to Mathjax 4.1 and latest katex Implement rich text composer support for math Adds support for /( )/ and /[ /] which was missing and very common now Removes math javascript from our repo --------- Co-authored-by: Mark McClure <mcmcclur@unca.edu>
12 lines
433 B
SCSS
Vendored
12 lines
433 B
SCSS
Vendored
.chat-message-text {
|
|
// huge selector complexity/specificity makes it hard to do differently
|
|
// this is done to limit the size of the chat message after math has rendered
|
|
// ultimately we would want a better solution to avoid channel jumpyness
|
|
// topics suffer from the same issue
|
|
mjx-container[display="true"],
|
|
.katex-display {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
}
|