# MathJax broken in “Related” section

The MathJax/LaTeX rendering seems to be broken for question titles in the "Related" section. Example from Show that 1 + $\lambda$ is an eigenvalue of $I + A$:

(Observed with Safari and Chrome on OS X, Firefox on Windows.)

• Same for me, with TenFourFox (Firefox fork) on OS X. – ccorn Apr 22 '16 at 22:18
• Related issue on Japanese.SE meta: meta.japanese.stackexchange.com/questions/1556/… – user75062 Apr 22 '16 at 23:08
• @snailboat: And solution #1 from meta.japanese.stackexchange.com/a/1557 works here as well. – Martin R Apr 23 '16 at 6:54
• Same here, Chrome and Safari on OSX. – Gabriel Romon Apr 23 '16 at 12:32
• Does it always happen, or only when you "show more comments" before the page is fully loaded? – Asaf Karagila Apr 24 '16 at 4:30
• @AsafKaragila: Always. (Actually there is no "show more comments" on the page that I gave as an example). – Martin R Apr 24 '16 at 10:42
• Same here (Chrome on Ubuntu 14). – AccidentalFourierTransform Apr 24 '16 at 12:17
• Opera is in the race too. – user142971 Apr 24 '16 at 16:38
• But Internet Explorer seems to be working well, damn :( – user142971 Apr 24 '16 at 16:45
• Chrome on Windows here, broken as well. – Wojowu Apr 24 '16 at 20:16
• This is the same issue reported here. – Davide Cervone Apr 24 '16 at 23:29
• Thanks for reporting guys and sorry for breaking this.. Fix is going to be live in < 24h – Paweł Apr 25 '16 at 6:04

The issue appears to be that the page's CSS causes the links in the sidebar to be display: flex, and that changes how the children are treated. The content is no longer a paragraph-like structure that wraps normally. Instead, it is a series of boxes that align left to right. That means that the text before a math item is one box, the math is another, and the text that follows is a third. By default, these must appear all on one line, so the initial text is wrapped, as is the final text, and the math is smashed in between. Since these three boxes don't fit in the allowed horizontal space, the three boxes overlap, as in your diagram.
I suspect that a fix would be to put the contents of the <a> element into a <span> so that there is only one child of the flex container (whose content will wrap normally).