I have an RTL (right-to-left, Hebrew) MediaWiki 1.32.0 website with Vector as desktop theme and MinervaNeue as mobile theme.
In common.css
I have added the following code to prevent <pre>
LTR (left-to-right) content from moving to the right edge of the screen as all other content would in this RTL site. I gave this class to generally all <pre>
tags in the web site.
.preLTR {
direction: ltr;
}
The problem is that while <pre>
content in Vector does go left, <pre>
content in MinervaNeue doesn't (although it seems to be accepted in DOM)[1]:
- Adding
!important
, saving and clearing cache doesn't help.
What can be the problem?
original post |
---|
Already published with Markdown in StackOverflow. Please help: |