Css for changing padding / margin for latex/math

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


text before the double dollar env
x = xxx \\
x = xxx \\

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).