discourse-math/assets/stylesheets/ext/discourse-chat.scss
Joffrey JAFFEUX 6f59c46912
DEV: adds chat support (#67)
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.
2023-01-18 12:35:27 +01:00

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