Even though this line should ensure that .tocnumber .mw-content-rtl elements have padding-left: 0.5em;, we recently noticed that on fawiki they are being rendered with padding-right: 0.5em; instead. It seems like @noflip is not working correctly. Here is the CSS that is prepared from the LESS file, as it appears in the browser's console:
.tocnumber { color:#202122; padding-right:0; padding-left:0.5em } .mw-content-ltr .tocnumber { padding-right:0; padding-left:0.5em } .mw-content-rtl .tocnumber { padding-right:0.5em; padding-left:0 }
The effect of this is that numbers in the TOC are too close to the text that comes after them.
The issue is new. The code above has not changed in a while. The problem must reside somewhere else. Other code that uses @noflip seems not to be affected.
This issue affects all skins. It is not limited to fawiki and is happening in other RTL wikis too (e.g. arwiki) but it does not affect LTR wikis.