0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 16:57:36 +08:00
discourse/plugins/discourse-math/assets/stylesheets/ext/discourse-chat.scss
Sam d31ca17c57
FEATURE: update mathjax to version 4.1 (#36814)
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>
2026-01-09 08:24:31 +11:00

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;
}
}