div.math, span.math {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}