Css for changing padding / margin for latex/math

I am trying to reduce between normal text and the math environment.
Anyone knows the CSS?

example:

text before the double dollar env
$$\begin{flalign}\begin{cases}
x = xxx \\
x = xxx \\
\end{cases}&&\end{flalign}$$

Looks like in editing mode, that’s being set via padding (specifically, on .markdown-source-view.mod-cm6 .math-block > mjx-container).

In reading mode, it’ll be slightly more work, since it’s being controlled by the margins of both the element before the math environment (such as a p element, for example) and the element of the math environment itself (mjx-container[jax="CHTML"][display="true"], when I tested).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.