mirror of
https://github.com/discourse/discourse-math.git
synced 2025-08-03 02:43:27 +00:00
This commit is also removing jquery code and simplifying code. Note that discourse-math is currently causing jumpy-ness in topics or in chat as the resulting processed mathjax element has a different size than the initial text node.
13 lines
420 B
SCSS
13 lines
420 B
SCSS
.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 MathJax has rendered
|
|
// ultimately we would want a better solution to avoid channel jumpyness
|
|
// topics suffer from the same issue
|
|
.MJXc-display,
|
|
.MathJax_CHTML {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
}
|